diff options
Diffstat (limited to 'tasks/addon.yml')
-rw-r--r-- | tasks/addon.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tasks/addon.yml b/tasks/addon.yml new file mode 100644 index 0000000..f6a4d14 --- /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_app_confdir }}/{{ 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: "{{ clever_app_confdir }}/{{ addon.name }}_env.yml" | ||
9 | name: "{{ addon.name }}" | ||