aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/addon.yml
blob: cde7a1a8f3f7428d0fff38addd996daf67052312 (plain) (blame)
1
2
3
4
5
6
7
8
9
- name: Gather addon information for {{ addon.name }}
  shell: "clever env | grep {{ addon.env_prefix }} | sed -e 's/{{ addon.env_prefix }}_//' -e 's/=/: \"/' -e 's/$/\"/' > .clever-cloud/{{ addon.name }}_env.yml"
  environment:
    CONFIGURATION_FILE: "{{ clever_login_file }}"

- name: Include addon var for {{ addon.name }}
  include_vars:
    file: "{{ addon.name }}_env.yml"
    name: "{{ addon.name }}"