summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/tasks/project.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-28 23:44:22 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-28 23:44:22 +0200
commite7175b16015060b2210e425db223b5a811b55806 (patch)
tree70c19f44cdcb8595663124bafba9a5352dfce74d /roles/ands_kaas/tasks/project.yml
parent79e60f2f201e1330a2716825dac985abb7a2bef0 (diff)
downloadands-e7175b16015060b2210e425db223b5a811b55806.tar.gz
ands-e7175b16015060b2210e425db223b5a811b55806.tar.bz2
ands-e7175b16015060b2210e425db223b5a811b55806.tar.xz
ands-e7175b16015060b2210e425db223b5a811b55806.zip
Support parameters in KaaS apps
Diffstat (limited to 'roles/ands_kaas/tasks/project.yml')
-rw-r--r--roles/ands_kaas/tasks/project.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/ands_kaas/tasks/project.yml b/roles/ands_kaas/tasks/project.yml
index f1c596b..149a102 100644
--- a/roles/ands_kaas/tasks/project.yml
+++ b/roles/ands_kaas/tasks/project.yml
@@ -16,6 +16,7 @@
var_empty:
pods: {}
builders: {}
+ parameters: {}
var_name: "var_{{kaas_project}}_config"
when: hostvars[inventory_hostname][var_name] is not defined
@@ -61,6 +62,7 @@
kaas_project_local_volumes: "{{ kaas_project_config.local_volumes | default({}) }}"
kaas_project_builders: "{{ kaas_project_config.builders | default({}) }}"
kaas_project_pods: "{{ kaas_project_config.pods | default({}) }}"
+ kaas_project_parameters: "{{ kaas_project_config.parameters | default({}) }}"
kaas_project_apps: "{{ kaas_project_config.apps | default({}) }}"
kaas_project_gids: "{{ kaas_project_config.gids | default(kaas_openshift_gids) }}"
kaas_project_uids: "{{ kaas_project_config.uids | default(kaas_openshift_uids) }}"