Browse Source

Ensure nfs-utils installed for non-atomic hosts.

Andrew Butcher 9 years ago
parent
commit
8eaac9ee3f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      roles/openshift_node/tasks/storage_plugins/nfs.yml

+ 4 - 0
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