summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ands_kaas')
-rw-r--r--roles/ands_kaas/tasks/do_app.yml4
-rw-r--r--roles/ands_kaas/tasks/do_apps.yml2
-rw-r--r--roles/ands_kaas/tasks/template.yml1
3 files changed, 3 insertions, 4 deletions
diff --git a/roles/ands_kaas/tasks/do_app.yml b/roles/ands_kaas/tasks/do_app.yml
index 556a421..c653b6d 100644
--- a/roles/ands_kaas/tasks/do_app.yml
+++ b/roles/ands_kaas/tasks/do_app.yml
@@ -3,11 +3,11 @@
run_once: true
vars:
tmpl_name: "40-kaas-app-builders.yml.j2"
- yml_name: ternary ( '80-' + (appname | default('kaas')) + '-builder.yml'
+ yml_name: "{{ '80-' + (appname | default('kaas')) + '-builder.yml' }}"
- name: "Process KaaS App pods"
include_tasks: "template.yml"
run_once: true
vars:
tmpl_name: "50-kaas-app-pods.yml.j2"
- yml_name: ternary ( '90-' + (appname | default('kaas')) + '.yml'
+ yml_name: "{{ '90-' + (appname | default('kaas')) + '.yml' }}"
diff --git a/roles/ands_kaas/tasks/do_apps.yml b/roles/ands_kaas/tasks/do_apps.yml
index 382eb3c..ffcecfe 100644
--- a/roles/ands_kaas/tasks/do_apps.yml
+++ b/roles/ands_kaas/tasks/do_apps.yml
@@ -1,5 +1,5 @@
- name: "Process KaaS apps"
- include_tasks: "app.yml"
+ include_tasks: "do_app.yml"
run_once: true
with_dict: "{{ kaas_project_apps | default({}) }}"
loop_control:
diff --git a/roles/ands_kaas/tasks/template.yml b/roles/ands_kaas/tasks/template.yml
index 73cf1c4..a12b192 100644
--- a/roles/ands_kaas/tasks/template.yml
+++ b/roles/ands_kaas/tasks/template.yml
@@ -13,7 +13,6 @@
- name: "Configure KaaS resources defined in {{ tmpl_name }}"
include_role: name="openshift_resource"
- when: instantiate == true
vars:
default_name: "{{ tmpl_name | basename | regex_replace('\\.j2','') }}"
dest_name: "{{ yml_name | default(default_name) }}"