diff options
-rw-r--r-- | roles/ands_kaas/tasks/do_app.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/ands_kaas/tasks/do_app.yml b/roles/ands_kaas/tasks/do_app.yml index c653b6d..1dfd12a 100644 --- a/roles/ands_kaas/tasks/do_app.yml +++ b/roles/ands_kaas/tasks/do_app.yml @@ -1,6 +1,8 @@ - name: "Process KaaS App builders" include_tasks: "template.yml" run_once: true + when: + - builders | length vars: tmpl_name: "40-kaas-app-builders.yml.j2" yml_name: "{{ '80-' + (appname | default('kaas')) + '-builder.yml' }}" @@ -8,6 +10,8 @@ - name: "Process KaaS App pods" include_tasks: "template.yml" run_once: true + when: + - pods | length vars: tmpl_name: "50-kaas-app-pods.yml.j2" yml_name: "{{ '90-' + (appname | default('kaas')) + '.yml' }}" |