summaryrefslogtreecommitdiffstats
path: root/roles/glusterfs/tasks/common.yml
blob: 5e8e3b668a0057f249398f5447738373b0647d87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- name: Ensure GlusterFS repositories are present
  yum: name="centos-release-gluster{{ glusterfs_version }}" state=present
   
- name: Ensure GlusterFS is installed
  yum: name={{item}} state=present
  with_items:
    - glusterfs-cli
    - glusterfs-fuse
    - glusterfs-rdma
    - libsemanage-python
            
- name: Allow fuse in SELinux configuration
  seboolean: name="virt_sandbox_use_fusefs" state="yes" persistent="yes"