summaryrefslogtreecommitdiffstats
path: root/roles/ands_openshift/tasks/heketi.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ands_openshift/tasks/heketi.yml')
-rw-r--r--roles/ands_openshift/tasks/heketi.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/ands_openshift/tasks/heketi.yml b/roles/ands_openshift/tasks/heketi.yml
new file mode 100644
index 0000000..149f85d
--- /dev/null
+++ b/roles/ands_openshift/tasks/heketi.yml
@@ -0,0 +1,13 @@
+---
+- block:
+ - name: Ensure all required packages are installed
+ yum: name={{item}} state=present
+ with_items:
+ - heketi-client
+
+ - include: heketi_resources.yml
+ run_once: true
+ delegate_to: "{{ groups.masters[0] }}"
+ when: ansible_lvm.lvs.{{ ands_heketi_lv }} is defined
+
+ when: ansible_lvm.lvs.{{ ands_heketi_lv }} is defined