summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/tasks/template.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ands_kaas/tasks/template.yml')
-rw-r--r--roles/ands_kaas/tasks/template.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/ands_kaas/tasks/template.yml b/roles/ands_kaas/tasks/template.yml
index 87e45a6..841c80e 100644
--- a/roles/ands_kaas/tasks/template.yml
+++ b/roles/ands_kaas/tasks/template.yml
@@ -20,8 +20,8 @@
template: "{{ dest_name }}"
template_path: "{{ kaas_template_path }}"
project: "{{ kaas_project }}"
- recreate: "{{ result | changed | ternary (delete | ternary(true, false), false) }}"
- replace: "{{ result | changed | ternary (delete | ternary(false, true), false) }}"
+ recreate: "{{ result | changed | ternary (delete | default(true) | ternary(true, false), false) }}"
+ replace: "{{ result | changed | ternary (delete | default(true) | ternary(false, true), false) }}"
# alternatively load template
# TODO