mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-12 08:43:55 +02:00
97a7c8b0f0
- `item` was undefined - `'key' in configurations == ''` was doing the wrong thing Related to #681 (Github Pull Request)
11 lines
444 B
YAML
11 lines
444 B
YAML
---
|
|
|
|
- name: Fail if required settings not defined in configuration blocks
|
|
fail:
|
|
msg: >-
|
|
One of the configurations in matrix_dynamic_dns_domain_configurations is missing a required key (domain, provider, protocol).
|
|
when: "'domain' not in configuration or 'provider' not in configuration or 'protocol' not in configuration"
|
|
with_items: "{{ matrix_dynamic_dns_domain_configurations }}"
|
|
loop_control:
|
|
loop_var: configuration
|