diff options
Diffstat (limited to 'tasks/service-dep.yml')
-rw-r--r-- | tasks/service-dep.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tasks/service-dep.yml b/tasks/service-dep.yml new file mode 100644 index 0000000..67621f6 --- /dev/null +++ b/tasks/service-dep.yml | |||
@@ -0,0 +1,17 @@ | |||
1 | - name: Make sure addon {{ service_dep.addon_id }} is linked | ||
2 | shell: > | ||
3 | clever service link-addon {{ service_dep.addon_id }} | ||
4 | args: | ||
5 | chdir: "{{ clever_app_root }}" | ||
6 | environment: | ||
7 | CONFIGURATION_FILE: "{{ clever_login_file }}" | ||
8 | when: service_dep.addon_id is defined | ||
9 | |||
10 | - name: Make sure app {{ service_dep.app_id }} is linked | ||
11 | shell: > | ||
12 | clever service link-app {{ service_dep.app_id }} | ||
13 | args: | ||
14 | chdir: "{{ clever_app_root }}" | ||
15 | environment: | ||
16 | CONFIGURATION_FILE: "{{ clever_login_file }}" | ||
17 | when: service_dep.app_id is defined | ||