From 0dd276d51c5738533f993c44b39db8a7f2f43dfc Mon Sep 17 00:00:00 2001 From: Robert van Veelen Date: Wed, 10 Feb 2016 14:22:22 +0000 Subject: add iscsi storage_plugin dependency --- roles/openshift_node/tasks/storage_plugins/iscsi.yml | 4 ++++ roles/openshift_node/tasks/storage_plugins/main.yml | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 roles/openshift_node/tasks/storage_plugins/iscsi.yml 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" -- cgit v1.2.3