diff options
author | Gaƫtan <36162164+gaetanfl@users.noreply.github.com> | 2018-02-23 18:10:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-23 18:10:48 +0100 |
commit | 4fdd3eb566b8b322789f74990181acc243ffb578 (patch) | |
tree | 4f0e9ffda46afe5e571d7071dd8e08c34a5b8928 /tasks/addon.yml | |
parent | 4882b0d33ce42a3b01ac9689d1809e362f314d3f (diff) | |
parent | 8692bc2704f2a38890c93577e8f6743e611d5308 (diff) | |
download | ansible-clever-4fdd3eb566b8b322789f74990181acc243ffb578.tar.gz ansible-clever-4fdd3eb566b8b322789f74990181acc243ffb578.tar.zst ansible-clever-4fdd3eb566b8b322789f74990181acc243ffb578.zip |
Merge pull request #1 from gaetanfl/first_try
Migrating single tasks file to a galaxy role
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 }}" | ||