diff options
author | Robert van Veelen <rvanveelen@tremorvideo.com> | 2016-02-10 14:22:22 +0000 |
---|---|---|
committer | Robert van Veelen <rvanveelen@tremorvideo.com> | 2016-02-10 14:22:22 +0000 |
commit | 0dd276d51c5738533f993c44b39db8a7f2f43dfc (patch) | |
tree | 494b9f958cd09343394ef11913019978f50f4342 /roles/openshift_node/tasks | |
parent | a0701fd2d6401acf7dc9eb8c1e711d66b83dc554 (diff) | |
download | openshift-0dd276d51c5738533f993c44b39db8a7f2f43dfc.tar.gz openshift-0dd276d51c5738533f993c44b39db8a7f2f43dfc.tar.bz2 openshift-0dd276d51c5738533f993c44b39db8a7f2f43dfc.tar.xz openshift-0dd276d51c5738533f993c44b39db8a7f2f43dfc.zip |
add iscsi storage_plugin dependency
Diffstat (limited to 'roles/openshift_node/tasks')
-rw-r--r-- | roles/openshift_node/tasks/storage_plugins/iscsi.yml | 4 | ||||
-rw-r--r-- | roles/openshift_node/tasks/storage_plugins/main.yml | 4 |
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" |