summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks
diff options
context:
space:
mode:
authorGeorge Goh <george.goh@redhat.com>2016-06-29 10:10:05 +0800
committerGeorge Goh <george.goh@redhat.com>2016-06-29 10:10:05 +0800
commita704c30b3a07f0cae4b1aa30931e60e0632433f3 (patch)
tree129f9e69d1195fe368870ce00207bc836a5af216 /roles/openshift_node/tasks
parent56dd40b7896a9e940951f9a16932a2b96bcf3b7e (diff)
downloadopenshift-a704c30b3a07f0cae4b1aa30931e60e0632433f3.tar.gz
openshift-a704c30b3a07f0cae4b1aa30931e60e0632433f3.tar.bz2
openshift-a704c30b3a07f0cae4b1aa30931e60e0632433f3.tar.xz
openshift-a704c30b3a07f0cae4b1aa30931e60e0632433f3.zip
Enable additional 'virt_sandbox_use_nfs' seboolean as per documentation:
https://docs.openshift.org/latest/install_config/persistent_storage/persistent_storage_nfs.html#nfs-selinux
Diffstat (limited to 'roles/openshift_node/tasks')
-rw-r--r--roles/openshift_node/tasks/storage_plugins/nfs.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/storage_plugins/nfs.yml b/roles/openshift_node/tasks/storage_plugins/nfs.yml
index 14a613786..8380714d4 100644
--- a/roles/openshift_node/tasks/storage_plugins/nfs.yml
+++ b/roles/openshift_node/tasks/storage_plugins/nfs.yml
@@ -9,3 +9,10 @@
state: yes
persistent: yes
when: ansible_selinux and ansible_selinux.status == "enabled"
+
+- name: Set seboolean to allow nfs storage plugin access from containers(sandbox)
+ seboolean:
+ name: virt_sandbox_use_nfs
+ state: yes
+ persistent: yes
+ when: ansible_selinux and ansible_selinux.status == "enabled"