mirror of
https://gitea.0xace.cc/ansible-galaxy/consul.git
synced 2025-04-29 15:02:01 +00:00
fix agent config generation when no agent group is defined
This commit is contained in:
parent
8cbfe0b3c5
commit
745c1b5dc0
@ -26,7 +26,9 @@
|
||||
when: consul_ssl
|
||||
|
||||
- name: Merge config for Consul agent
|
||||
when: inventory_hostname in groups[consul_agent_group]
|
||||
when:
|
||||
- groups[consul_agent_group] is defined
|
||||
- inventory_hostname in groups[consul_agent_group]
|
||||
block:
|
||||
- name: Merge config for Consul agent
|
||||
set_fact:
|
||||
|
Loading…
x
Reference in New Issue
Block a user