diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-01-14 16:47:56 -0500 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-01-14 16:47:56 -0500 |
commit | 8eaac9ee3f8a8f5e903ac79b4a3bc5e5b7d440c7 (patch) | |
tree | 79f458835aa076cc414d3a27f8583e13b8575b6d | |
parent | 2a12b6a99db4e8f39da27770e397dfafe27c9547 (diff) | |
download | openshift-8eaac9ee3f8a8f5e903ac79b4a3bc5e5b7d440c7.tar.gz openshift-8eaac9ee3f8a8f5e903ac79b4a3bc5e5b7d440c7.tar.bz2 openshift-8eaac9ee3f8a8f5e903ac79b4a3bc5e5b7d440c7.tar.xz openshift-8eaac9ee3f8a8f5e903ac79b4a3bc5e5b7d440c7.zip |
Ensure nfs-utils installed for non-atomic hosts.
-rw-r--r-- | roles/openshift_node/tasks/storage_plugins/nfs.yml | 4 |
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 |