1
0
Fork 0

Attempt to tweak config generator to include ALL hosts that could have been included in the play, rather than just the ones matching filters (helpful for controller deployments)

This commit is contained in:
KemoNine 2020-08-04 17:39:33 +00:00
parent 8fc7870c76
commit 1faf8d9f12

View file

@ -39,7 +39,7 @@ PostDown = {{ wg_postdown }}
{% if hostvars[inventory_hostname].wireguard_save_config is defined %}
SaveConfig = true
{% endif %}
{% for host in ansible_play_hosts %}
{% for host in ansible_play_hosts_all %}
{% if host != inventory_hostname %}
[Peer]