parent
94dcceb7b9
commit
e894befd87
@ -1,10 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Fail if required settings not defined
|
- name: Fail if required settings not defined in configuration blocks
|
||||||
fail:
|
fail:
|
||||||
msg: >-
|
msg: >-
|
||||||
You need to define a required configuration setting (`{{ item }}`).
|
You need to define a required configuration setting (`{{ item }}`).
|
||||||
when: "vars[item] == ''"
|
when: "'domain' not in configuration == '' or 'provider' not in configuration == '' or 'protocol' not in configuration == ''"
|
||||||
with_items:
|
with_items: "{{ matrix_dynamic_dns_domain_configurations }}"
|
||||||
- "matrix_dynamic_dns_domain"
|
loop_control:
|
||||||
- "matrix_dynamic_dns_provider"
|
loop_var: configuration
|
||||||
|
Loading…
Reference in new issue