summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2015-06-05 11:56:52 -0700
committerJhon Honce <jhonce@redhat.com>2015-06-05 12:08:03 -0700
commit99ed4b1e55455afbc0c1a94ce4817b78134a4d3d (patch)
tree304b18e3183c3d56cb377cc425dab6749a3ebca6 /roles
parentd7e8272e6e027f2ecc34781f011ea731051565fd (diff)
downloadopenshift-99ed4b1e55455afbc0c1a94ce4817b78134a4d3d.tar.gz
openshift-99ed4b1e55455afbc0c1a94ce4817b78134a4d3d.tar.bz2
openshift-99ed4b1e55455afbc0c1a94ce4817b78134a4d3d.tar.xz
openshift-99ed4b1e55455afbc0c1a94ce4817b78134a4d3d.zip
Allow NFS access for VMs
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_node/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index 3d56bdd67..8af41b732 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -41,6 +41,9 @@
notify:
- restart openshift-node
+- name: Allow NFS access for VMs
+ seboolean: name=virt_use_nfs state=yes persistent=yes
+
- name: Start and enable openshift-node
service: name=openshift-node enabled=yes state=started
when: not openshift.common.use_openshift_sdn|bool