Compare commits
3 Commits
3279f5b0ce
...
1c75f8b93f
Author | SHA1 | Date | |
---|---|---|---|
1c75f8b93f | |||
29ffe7f8fa | |||
7aa6ba6f27 |
@ -17,8 +17,8 @@
|
|||||||
msg: "Required variable '{{ item }}' is undefined!"
|
msg: "Required variable '{{ item }}' is undefined!"
|
||||||
loop: "{{ synapse_required_variables }}"
|
loop: "{{ synapse_required_variables }}"
|
||||||
when: >-2
|
when: >-2
|
||||||
item not in hostvars[inventory_hostname]
|
item not in hostvars[ansible_host]
|
||||||
or hostvars[inventory_hostname][item] | length == 0
|
or hostvars[ansible_host][item] | length == 0
|
||||||
|
|
||||||
- name: Ensure conditionally required variables are given
|
- name: Ensure conditionally required variables are given
|
||||||
ansible.builtin.fail:
|
ansible.builtin.fail:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user