summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-02-10 15:41:30 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-02-10 15:41:30 -0500
commit777fd8b3b964e3780660f733d7539a6e86ed3b66 (patch)
tree5245a356c6fdd6ea0d5ccebf1122c286bb232059 /roles/openshift_node
parent5678a61006be9f6b72d7a94131006e309d414ea0 (diff)
parent2419624b7aa8b626bf537ef106af9836aefa5035 (diff)
downloadopenshift-777fd8b3b964e3780660f733d7539a6e86ed3b66.tar.gz
openshift-777fd8b3b964e3780660f733d7539a6e86ed3b66.tar.bz2
openshift-777fd8b3b964e3780660f733d7539a6e86ed3b66.tar.xz
openshift-777fd8b3b964e3780660f733d7539a6e86ed3b66.zip
Merge pull request #1370 from vanveele/iscsi-plugin
add iscsi storage_plugin dependency
Diffstat (limited to 'roles/openshift_node')
-rw-r--r--roles/openshift_node/tasks/storage_plugins/iscsi.yml4
-rw-r--r--roles/openshift_node/tasks/storage_plugins/main.yml4
2 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/storage_plugins/iscsi.yml b/roles/openshift_node/tasks/storage_plugins/iscsi.yml
new file mode 100644
index 000000000..d6684b34a
--- /dev/null
+++ b/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
diff --git a/roles/openshift_node/tasks/storage_plugins/main.yml b/roles/openshift_node/tasks/storage_plugins/main.yml
index 39c7b9390..fe638718d 100644
--- a/roles/openshift_node/tasks/storage_plugins/main.yml
+++ b/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"