summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/tasks/do_storage.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ands_kaas/tasks/do_storage.yml')
-rw-r--r--roles/ands_kaas/tasks/do_storage.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/ands_kaas/tasks/do_storage.yml b/roles/ands_kaas/tasks/do_storage.yml
index e79db56..8a6a880 100644
--- a/roles/ands_kaas/tasks/do_storage.yml
+++ b/roles/ands_kaas/tasks/do_storage.yml
@@ -18,7 +18,7 @@
volume: "{{osv.value}}"
when:
- ( mntpath | length ) > 0
- - (kaas_storage_types is not defined) or ((osv.type | default("host")) in kaas_storage_types)
+ - (kaas_storage_types is not defined) or (voltype in kaas_storage_types)
- name: Check if static configuration exists
local_action: stat path="{{ kaas_project_path }}/files/"
@@ -50,4 +50,4 @@
hostpath: "{{ hostvars[inventory_hostname][hvar] }}/{{ file.path }}"
when:
- file.osv in kaas_project_volumes
- - (kaas_storage_types is not defined) or ((osv.type | default("host")) in kaas_storage_types)
+ - (kaas_storage_types is not defined) or (voltype in kaas_storage_types)