aboutsummaryrefslogblamecommitdiffhomepage
path: root/tasks/addon.yml
blob: f6a4d14b5a36d44aa4c6bcdef9ca2d59e5253b80 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     
                                                                                                                                                                          




                                                 
                                                             
                            
- name: Gather addon information for {{ addon.name }}
  shell: "clever env | grep {{ addon.env_prefix }} | sed -e 's/{{ addon.env_prefix }}_//' -e 's/=/: \"/' -e 's/$/\"/' > {{ clever_app_confdir }}/{{ addon.name }}_env.yml"
  environment:
    CONFIGURATION_FILE: "{{ clever_login_file }}"

- name: Include addon var for {{ addon.name }}
  include_vars:
    file: "{{ clever_app_confdir }}/{{ addon.name }}_env.yml"
    name: "{{ addon.name }}"