aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/service-dep.yml
blob: 67621f674f118831be9ee04492848f159cceed4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- name: Make sure addon {{ service_dep.addon_id }} is linked
  shell: >
    clever service link-addon {{ service_dep.addon_id }}
  args:
    chdir: "{{ clever_app_root }}"
  environment:
    CONFIGURATION_FILE: "{{ clever_login_file }}"
  when: service_dep.addon_id is defined

- name: Make sure app {{ service_dep.app_id }} is linked
  shell: >
    clever service link-app {{ service_dep.app_id }}
  args:
    chdir: "{{ clever_app_root }}"
  environment:
    CONFIGURATION_FILE: "{{ clever_login_file }}"
  when: service_dep.app_id is defined