From bc6b5cb5ad7dec5158e0005433b02a951daf9191 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 11 Apr 2018 00:30:58 +0200 Subject: Support executing custom scripts and provide mode to update just ADEI template --- roles/ands_kaas/tasks/do_script.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 roles/ands_kaas/tasks/do_script.yml (limited to 'roles/ands_kaas/tasks/do_script.yml') diff --git a/roles/ands_kaas/tasks/do_script.yml b/roles/ands_kaas/tasks/do_script.yml new file mode 100644 index 0000000..7dc9dad --- /dev/null +++ b/roles/ands_kaas/tasks/do_script.yml @@ -0,0 +1,10 @@ +--- +- name: Ensure OpenShift template directory exists + file: path="{{ kaas_template_path }}" state="directory" mode=0755 owner=root group=root + +- name: "Run OC script" + include_tasks: ocscript.yml + run_once: true + vars: + script: "{{ kaas_script | default(kaas_project_script) }}" + -- cgit v1.2.3