summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-01-18 14:30:07 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-01-18 14:30:07 -0500
commita5cddd2e98dd3d23dcefd1bb72d88c6bcb373fea (patch)
tree68fd5cbac2ebacbb2dfb69e2a96c8bd25106890f
parentfb0ca640b0a1aec3d8eb88d72fd187c4b9b29619 (diff)
parent8eaac9ee3f8a8f5e903ac79b4a3bc5e5b7d440c7 (diff)
downloadopenshift-a5cddd2e98dd3d23dcefd1bb72d88c6bcb373fea.tar.gz
openshift-a5cddd2e98dd3d23dcefd1bb72d88c6bcb373fea.tar.bz2
openshift-a5cddd2e98dd3d23dcefd1bb72d88c6bcb373fea.tar.xz
openshift-a5cddd2e98dd3d23dcefd1bb72d88c6bcb373fea.zip
Merge pull request #1210 from abutcher/nfs-utils
Ensure nfs-utils installed for non-atomic hosts.
-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