소스 검색

Merge pull request #1210 from abutcher/nfs-utils

Ensure nfs-utils installed for non-atomic hosts.
Brenton Leanhardt 9 년 전
부모
커밋
a5cddd2e98
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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
 - name: Set seboolean to allow nfs storage plugin access from containers
   seboolean:
   seboolean:
     name: virt_use_nfs
     name: virt_use_nfs