summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-01-14 16:47:56 -0500
committerAndrew Butcher <abutcher@redhat.com>2016-01-14 16:47:56 -0500
commit8eaac9ee3f8a8f5e903ac79b4a3bc5e5b7d440c7 (patch)
tree79f458835aa076cc414d3a27f8583e13b8575b6d /roles/openshift_node
parent2a12b6a99db4e8f39da27770e397dfafe27c9547 (diff)
downloadopenshift-8eaac9ee3f8a8f5e903ac79b4a3bc5e5b7d440c7.tar.gz
openshift-8eaac9ee3f8a8f5e903ac79b4a3bc5e5b7d440c7.tar.bz2
openshift-8eaac9ee3f8a8f5e903ac79b4a3bc5e5b7d440c7.tar.xz
openshift-8eaac9ee3f8a8f5e903ac79b4a3bc5e5b7d440c7.zip
Ensure nfs-utils installed for non-atomic hosts.
Diffstat (limited to 'roles/openshift_node')
-rw-r--r--roles/openshift_node/tasks/storage_plugins/nfs.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/storage_plugins/nfs.yml b/roles/openshift_node/tasks/storage_plugins/nfs.yml
index 1edf21d9b..14a613786 100644
--- a/roles/openshift_node/tasks/storage_plugins/nfs.yml
+++ b/roles/openshift_node/tasks/storage_plugins/nfs.yml
@@ -1,4 +1,8 @@
---
+- name: Install NFS storage plugin dependencies
+ action: "{{ ansible_pkg_mgr }} name=nfs-utils state=present"
+ when: not openshift.common.is_atomic | bool
+
- name: Set seboolean to allow nfs storage plugin access from containers
seboolean:
name: virt_use_nfs