]> git.immae.eu Git - github/fretlink/ansible-clever.git/blame - tasks/addon.yml
Migrating single tasks file to a galaxy role
[github/fretlink/ansible-clever.git] / tasks / addon.yml
CommitLineData
f7dd5848
GD
1- name: Gather addon information for {{ addon.name }}
2 shell: "clever env | grep {{ addon.env_prefix }} | sed -e 's/{{ addon.env_prefix }}_//' -e 's/=/: \"/' -e 's/$/\"/' > .clever-cloud/{{ addon.name }}_env.yml"
3 environment:
4 CONFIGURATION_FILE: "{{ clever_login_file }}"
5
6- name: Include addon var for {{ addon.name }}
7 include_vars:
8 file: "{{ addon.name }}_env.yml"
9 name: "{{ addon.name }}"