diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-01-18 14:30:07 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-01-18 14:30:07 -0500 |
commit | a5cddd2e98dd3d23dcefd1bb72d88c6bcb373fea (patch) | |
tree | 68fd5cbac2ebacbb2dfb69e2a96c8bd25106890f /roles/openshift_node | |
parent | fb0ca640b0a1aec3d8eb88d72fd187c4b9b29619 (diff) | |
parent | 8eaac9ee3f8a8f5e903ac79b4a3bc5e5b7d440c7 (diff) | |
download | openshift-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.
Diffstat (limited to 'roles/openshift_node')
-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 |