]> git.immae.eu Git - github/fretlink/ansible-clever.git/blob - tasks/service-dep.yml
Merge pull request #74 from clementd-fretlink/service-dependencies
[github/fretlink/ansible-clever.git] / tasks / service-dep.yml
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