summaryrefslogtreecommitdiffstats
path: root/roles/glusterfs/tasks/common.yml
blob: c94f86e011ffad82dab1cb2340bc11d02d261874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
- 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: Ensure GlusterFS is installed
  yum: name={{item}} state=latest enablerepo="centos-gluster{{ glusterfs_version }}-test"
  with_items:
    - heketi-client
    - gluster-block
            
- name: Allow fuse in SELinux configuration
  seboolean: name="virt_sandbox_use_fusefs" state="yes" persistent="yes"