aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/addon.yml
diff options
context:
space:
mode:
authorGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>2018-02-22 11:53:19 +0100
committerGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>2018-02-22 11:57:08 +0100
commitf7dd5848f817bb42cb06eadc5444ec390aa813ba (patch)
tree7459517d6b8b850959313d5c30f25f18fcda5531 /tasks/addon.yml
parent4882b0d33ce42a3b01ac9689d1809e362f314d3f (diff)
downloadansible-clever-f7dd5848f817bb42cb06eadc5444ec390aa813ba.tar.gz
ansible-clever-f7dd5848f817bb42cb06eadc5444ec390aa813ba.tar.zst
ansible-clever-f7dd5848f817bb42cb06eadc5444ec390aa813ba.zip
Migrating single tasks file to a galaxy role
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 }}"