소스 검색

add iscsi storage_plugin dependency

Robert van Veelen 9 년 전
부모
커밋
0dd276d51c
2개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      roles/openshift_node/tasks/storage_plugins/iscsi.yml
  2. 4 0
      roles/openshift_node/tasks/storage_plugins/main.yml

+ 4 - 0
roles/openshift_node/tasks/storage_plugins/iscsi.yml

@@ -0,0 +1,4 @@
+---
+- name: Install iSCSI storage plugin dependencies
+  action: "{{ ansible_pkg_mgr }} name=iscsi-initiator-utils state=present"
+  when: not openshift.common.is_atomic | bool

+ 4 - 0
roles/openshift_node/tasks/storage_plugins/main.yml

@@ -11,3 +11,7 @@
 - name: Ceph storage plugin configuration
   include: ceph.yml
   when: "'ceph' in openshift.node.storage_plugin_deps"
+
+- name: iSCSI storage plugin configuration
+  include: iscsi.yml
+  when: "'iscsi' in openshift.node.storage_plugin_deps"