summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks/storage_plugins/glusterfs.yml
blob: b812e81df7626f76f8a7fd010cc4929c1f9327b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- name: Install GlusterFS storage plugin dependencies
  yum:
    pkg: glusterfs-fuse
    state: installed

- name: Set seboolean to allow gluster storage plugin access from containers
  seboolean:
    name: virt_use_fusefs
    state: yes
    persistent: yes
  when: ansible_selinux and ansible_selinux.status == "enabled"