diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-04-11 00:30:58 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-04-11 00:30:58 +0200 |
commit | bc6b5cb5ad7dec5158e0005433b02a951daf9191 (patch) | |
tree | b3125932ed468aac2b34124fe4be361a8de7fbe7 /roles/ands_kaas/tasks/do_project.yml | |
parent | 5a15f65db3dfb245919bdd534e93bd711db2eb60 (diff) | |
download | ands-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 'roles/ands_kaas/tasks/do_project.yml')
-rw-r--r-- | roles/ands_kaas/tasks/do_project.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/ands_kaas/tasks/do_project.yml b/roles/ands_kaas/tasks/do_project.yml index 71a54ad..e64e9e3 100644 --- a/roles/ands_kaas/tasks/do_project.yml +++ b/roles/ands_kaas/tasks/do_project.yml @@ -5,7 +5,9 @@ - name: "Run OC script" include_tasks: ocscript.yml run_once: true - when: kaas_project_config.oc is defined + vars: + script: "{{ kaas_project_script }}" + when: kaas_project_script is defined - block: - name: Configure storage @@ -21,5 +23,5 @@ include_tasks: do_apps.yml run_once: true when: - - kaas_project_config.oc is undefined + - kaas_project_script is undefined |