summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Miller <maxamillion@fedoraproject.org>2016-08-24 11:46:06 -0500
committerAdam Miller <maxamillion@fedoraproject.org>2016-08-24 11:46:06 -0500
commit7c74fb1a0928b6a32b58234f71cb89af1ae5a15c (patch)
tree9a4e7734e22e8bb6fb63d577aa0754f4e03003aa
parentfcaeaf0ebb4f858500717f5f85aa3e27218e3e0f (diff)
downloadopenshift-7c74fb1a0928b6a32b58234f71cb89af1ae5a15c.tar.gz
openshift-7c74fb1a0928b6a32b58234f71cb89af1ae5a15c.tar.bz2
openshift-7c74fb1a0928b6a32b58234f71cb89af1ae5a15c.tar.xz
openshift-7c74fb1a0928b6a32b58234f71cb89af1ae5a15c.zip
don't set virt_sandbox_use_nfs on Fedora, it was replaced by virt_use_nfs
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
-rw-r--r--roles/openshift_node/tasks/storage_plugins/nfs.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/openshift_node/tasks/storage_plugins/nfs.yml b/roles/openshift_node/tasks/storage_plugins/nfs.yml
index e384c1bd7..22b539d16 100644
--- a/roles/openshift_node/tasks/storage_plugins/nfs.yml
+++ b/roles/openshift_node/tasks/storage_plugins/nfs.yml
@@ -17,16 +17,16 @@
persistent: yes
when: ansible_selinux and ansible_selinux.status == "enabled" and virt_use_nfs_output.rc == 0
-- name: Check for existence of virt_sandbox_use_nfs seboolean
+- name: Check for existence of virt_sandbox_use_nfs seboolean (RHEL)
command: getsebool virt_sandbox_use_nfs
register: virt_sandbox_use_nfs_output
- when: ansible_selinux and ansible_selinux.status == "enabled"
+ when: ansible_distribution != "Fedora" and ansible_selinux and ansible_selinux.status == "enabled"
failed_when: false
changed_when: false
-- name: Set seboolean to allow nfs storage plugin access from containers(sandbox)
+- name: Set seboolean to allow nfs storage plugin access from containers(sandbox) (RHEL)
seboolean:
name: virt_sandbox_use_nfs
state: yes
persistent: yes
- when: ansible_selinux and ansible_selinux.status == "enabled" and virt_sandbox_use_nfs_output.rc == 0
+ when: ansible_distribution != "Fedora" and ansible_selinux and ansible_selinux.status == "enabled" and virt_sandbox_use_nfs_output.rc == 0