summaryrefslogtreecommitdiffstats
path: root/vagrant/ansible/roles/samba-glusterfs.setup/tasks/centos8.yml
blob: cbaa585525e714c7ad6a92519c4f7a34058259d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- name: Install samba and samba-vfs-glusterfs packages
  yum:
    name:
      - samba
      - samba-vfs-glusterfs
    state: present

- name: Install python3-libsemanage. This is needed for the seboolean ansible command
  yum: name=python3-libsemanage state=present

- name: Selinux - Allow Samba to access glusterfs services
  seboolean:
    name: samba_load_libgfapi
    state: yes
    persistent: yes