aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/addon.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/addon.yml')
-rw-r--r--tasks/addon.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tasks/addon.yml b/tasks/addon.yml
new file mode 100644
index 0000000..cde7a1a
--- /dev/null
+++ b/tasks/addon.yml
@@ -0,0 +1,9 @@
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 }}"