Ver Fonte

add iscsi storage_plugin dependency

Robert van Veelen há 9 anos atrás
pai
commit
0dd276d51c

+ 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"