summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-setup-templates.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-04-11 00:30:58 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-04-11 00:30:58 +0200
commitbc6b5cb5ad7dec5158e0005433b02a951daf9191 (patch)
treeb3125932ed468aac2b34124fe4be361a8de7fbe7 /playbooks/openshift-setup-templates.yml
parent5a15f65db3dfb245919bdd534e93bd711db2eb60 (diff)
downloadands-bc6b5cb5ad7dec5158e0005433b02a951daf9191.tar.gz
ands-bc6b5cb5ad7dec5158e0005433b02a951daf9191.tar.bz2
ands-bc6b5cb5ad7dec5158e0005433b02a951daf9191.tar.xz
ands-bc6b5cb5ad7dec5158e0005433b02a951daf9191.zip
Support executing custom scripts and provide mode to update just ADEI template
Diffstat (limited to 'playbooks/openshift-setup-templates.yml')
-rw-r--r--playbooks/openshift-setup-templates.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/playbooks/openshift-setup-templates.yml b/playbooks/openshift-setup-templates.yml
new file mode 100644
index 0000000..d12b988
--- /dev/null
+++ b/playbooks/openshift-setup-templates.yml
@@ -0,0 +1,11 @@
+- import_playbook: maintain.yml
+
+- name: "Configure templates for {{ kaas_single_project }}"
+ hosts: masters
+ roles:
+ - { role: ands_kaas, subrole: script }
+ vars:
+ kaas_openshift_volumes: "{{ ands_openshift_volumes }}"
+ kaas_projects: "{{ ands_openshift_projects.keys() }}"
+ kaas_single_project: "{{ ands_configure_project }}"
+ kaas_script: [ "templates": "{{ ands_configure_template | default('*') }}" ]