diff options
| author | Brenton Leanhardt <bleanhar@redhat.com> | 2015-11-17 14:37:44 -0500 | 
|---|---|---|
| committer | Brenton Leanhardt <bleanhar@redhat.com> | 2015-11-17 14:37:44 -0500 | 
| commit | efc66e6fc367e2fa879d4c23cfe38c39470a0220 (patch) | |
| tree | 6cfac0d84c89e1b24b34a8c07708fb88dfd5a157 /roles/openshift_node/tasks | |
| parent | d421f5be5dd0a8cafd01ad492729394048b0d37c (diff) | |
| parent | 3fc9adb0c2f2519dbab60ade72e02d90669a1980 (diff) | |
| download | openshift-efc66e6fc367e2fa879d4c23cfe38c39470a0220.tar.gz openshift-efc66e6fc367e2fa879d4c23cfe38c39470a0220.tar.bz2 openshift-efc66e6fc367e2fa879d4c23cfe38c39470a0220.tar.xz openshift-efc66e6fc367e2fa879d4c23cfe38c39470a0220.zip | |
Merge pull request #903 from detiber/gluster_fix
Bug 1282336 - Add additional seboolean for gluster
Diffstat (limited to 'roles/openshift_node/tasks')
| -rw-r--r-- | roles/openshift_node/tasks/storage_plugins/glusterfs.yml | 9 | 
1 files changed, 7 insertions, 2 deletions
| diff --git a/roles/openshift_node/tasks/storage_plugins/glusterfs.yml b/roles/openshift_node/tasks/storage_plugins/glusterfs.yml index b812e81df..5cd4a6041 100644 --- a/roles/openshift_node/tasks/storage_plugins/glusterfs.yml +++ b/roles/openshift_node/tasks/storage_plugins/glusterfs.yml @@ -4,9 +4,14 @@      pkg: glusterfs-fuse      state: installed -- name: Set seboolean to allow gluster storage plugin access from containers +- name: Set sebooleans to allow gluster storage plugin access from containers    seboolean: -    name: virt_use_fusefs +    name: "{{ item }}"      state: yes      persistent: yes    when: ansible_selinux and ansible_selinux.status == "enabled" +  with_items: +  - virt_use_fusefs +  - virt_sandbox_use_fusefs +  register: sebool_result +  failed_when: "'state' not in sebool_result and 'msg' in sebool_result and 'SELinux boolean item does not exist' not in sebool_result.msg" | 
