]> git.immae.eu Git - github/fretlink/ansible-clever.git/blame - tasks/addon.yml
Merge pull request #80 from gaetanfl/bump_nix_version
[github/fretlink/ansible-clever.git] / tasks / addon.yml
CommitLineData
3d3287e0 1- name: Gather addon information for {{ addon.name }}
424481c0
PB
2 shell: >
3 set -o pipefail &&
4 clever env | grep {{ addon.env_prefix }}
5 | sed -e 's/{{ addon.env_prefix }}_//' -e 's/=/: /'
6 > {{ clever_app_confdir }}/{{ addon.name }}_env.yml
7 args:
8 chdir: "{{ clever_app_root }}"
9 executable: "bash"
10 environment:
11 CONFIGURATION_FILE: "{{ clever_login_file }}"
12 changed_when: False
f7dd5848
GD
13
14- name: Include addon var for {{ addon.name }}
15 include_vars:
8692bc27 16 file: "{{ clever_app_confdir }}/{{ addon.name }}_env.yml"
f7dd5848 17 name: "{{ addon.name }}"