summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/tasks/templates.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-15 06:57:07 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-15 06:57:07 +0200
commite41e21f6d0f5ca7aace86bf60e8b503bb20fdcd5 (patch)
tree390101c89a5e8f5c8c8dd23263730821f7edbbeb /roles/ands_kaas/tasks/templates.yml
parent79b191d207d7670295781c550847ce7d695cc388 (diff)
downloadands-e41e21f6d0f5ca7aace86bf60e8b503bb20fdcd5.tar.gz
ands-e41e21f6d0f5ca7aace86bf60e8b503bb20fdcd5.tar.bz2
ands-e41e21f6d0f5ca7aace86bf60e8b503bb20fdcd5.tar.xz
ands-e41e21f6d0f5ca7aace86bf60e8b503bb20fdcd5.zip
Support BuildConfig in ands_kaas role
Diffstat (limited to 'roles/ands_kaas/tasks/templates.yml')
-rw-r--r--roles/ands_kaas/tasks/templates.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/ands_kaas/tasks/templates.yml b/roles/ands_kaas/tasks/templates.yml
index 4417cf3..07b71ea 100644
--- a/roles/ands_kaas/tasks/templates.yml
+++ b/roles/ands_kaas/tasks/templates.yml
@@ -4,7 +4,7 @@
command: "echo {{ item | quote }}"
register: results
changed_when: false
- when: (kaas_project_pods | length > 0) or not (item | regex_search('kaas-pods'))
+ when: not (item | regex_search('kaas-app')) or ((kaas_project_pods | length > 0) and (item | regex_search('kaas-app-pods'))) or ((kaas_project_builders | length > 0) and (item | regex_search('kaas-app-builders')))
with_fileglob:
- "{{ role_path }}/templates/{{ kaas_template_glob | default('*') }}.j2"
- "{{ kaas_project_path }}/templates/{{ kaas_template_glob | default('*') }}.j2"
@@ -22,6 +22,7 @@
instantiate: true
load: false
pods: "{{ kaas_project_pods }}"
+ builders: "{{ kaas_project_builders }}"
loop_control:
loop_var: tmpl_name