mirror of
https://gitea.0xace.cc/ansible-galaxy/consul.git
synced 2025-07-01 09:23:09 +00:00
fix agent config generation when no agent group is defined
This commit is contained in:
@ -26,7 +26,9 @@
|
|||||||
when: consul_ssl
|
when: consul_ssl
|
||||||
|
|
||||||
- name: Merge config for Consul agent
|
- 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:
|
block:
|
||||||
- name: Merge config for Consul agent
|
- name: Merge config for Consul agent
|
||||||
set_fact:
|
set_fact:
|
||||||
|
Reference in New Issue
Block a user