Revision 2dbd6575
force lists in intermediate variables to be resolved #2
ansible/group_vars/all/monitoring.yml | ||
---|---|---|
17 | 17 |
key_path: "{{ pki.path }}/server/duckcorp-monitoring_zabbix_agent_{{ inventory_hostname | lower }}.key" |
18 | 18 |
register: |
19 | 19 |
api_url: https://sup.duckcorp.org/ |
20 |
host_groups: "{{ monitoring_gen.host_groups.keys() }}" |
|
20 |
host_groups: "{{ monitoring_gen.host_groups.keys() | list }}"
|
|
21 | 21 |
templates_extra: "{{ monitoring_gen.templates_extra.keys() | list }}" |
22 | 22 |
templates_exclude: "{{ monitoring_gen.templates_exclude.keys() | list }}" |
23 | 23 |
|
Also available in: Unified diff