summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/tasks/do_script.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ands_kaas/tasks/do_script.yml')
-rw-r--r--roles/ands_kaas/tasks/do_script.yml10
1 files changed, 10 insertions, 0 deletions
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) }}"
+