summaryrefslogtreecommitdiffstats
path: root/roles/glusterfs/tasks/common.yml
blob: 7675cb9fadc16d25e199268a89dd3a2428f29272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- 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-libs
    - glusterfs-rdma
    - glusterfs
    - libsemanage-python
            
- name: Allow fuse in SELinux configuration
  seboolean: name="virt_sandbox_use_fusefs" state="yes" persistent="yes"