diff options
author | George Goh <george.goh@redhat.com> | 2016-06-29 10:10:05 +0800 |
---|---|---|
committer | George Goh <george.goh@redhat.com> | 2016-06-29 10:10:05 +0800 |
commit | a704c30b3a07f0cae4b1aa30931e60e0632433f3 (patch) | |
tree | 129f9e69d1195fe368870ce00207bc836a5af216 | |
parent | 56dd40b7896a9e940951f9a16932a2b96bcf3b7e (diff) | |
download | openshift-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
-rw-r--r-- | roles/openshift_node/tasks/storage_plugins/nfs.yml | 7 |
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" |