summaryrefslogtreecommitdiffstats
path: root/roles/ands_storage/tasks
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-02-16 20:54:52 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-02-16 20:54:52 +0100
commit96ced00e05b50f276841a9212ae89e018de4d92d (patch)
treeb86c75fa97326dc89cc37c6dd23d294bd13eb56a /roles/ands_storage/tasks
parentcd94e324d3401e518578d91382a2b7ee67562112 (diff)
downloadands-96ced00e05b50f276841a9212ae89e018de4d92d.tar.gz
ands-96ced00e05b50f276841a9212ae89e018de4d92d.tar.bz2
ands-96ced00e05b50f276841a9212ae89e018de4d92d.tar.xz
ands-96ced00e05b50f276841a9212ae89e018de4d92d.zip
Updated to OpenShift 3.7 and tested
Diffstat (limited to 'roles/ands_storage/tasks')
-rw-r--r--roles/ands_storage/tasks/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/ands_storage/tasks/main.yml b/roles/ands_storage/tasks/main.yml
index a86babe..9318f88 100644
--- a/roles/ands_storage/tasks/main.yml
+++ b/roles/ands_storage/tasks/main.yml
@@ -5,7 +5,7 @@
ands_data_path: "{{ ands_data_path }}"
- name: Analyze storage devices
- include: detect_device.yml
+ include_tasks: detect_device.yml
when: not ands_data_device is defined
- name: Create Ands VG
@@ -30,6 +30,8 @@
- name: Add Heketi to Storage Domains
set_fact: ands_storage_domains="{{ ands_storage_domains | union([ands_heketi_domain]) }}"
when:
+ - ands_configure_heketi
+ - ands_heketi_domain is defined
- (ansible_lvm.lvs[ands_heketi_lv] is defined) or (ands_heketi_volume_size is defined)
- heketi_stat_result.stat.exists == False