fix: Remove current instance
This commit is contained in:
1 parent
8b13ab3410
commit
387a4c8fd5
3 files changed
+3
-2
No files matched your search
@@ -1,7 +1,7 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
# ansible inventory
|
||||
{%- set hosts = groups[dnsmasq_ansible_group] | sort | reject('equalto', inventory_hostname) %}
|
||||
{%- set hosts = groups[dnsmasq_ansible_group] | reject('equalto', inventory_hostname) | sort %}
|
||||
{%- for host in hosts %}
|
||||
{%- set ipv4 = hostvars[host]['ansible_host'] %}
|
||||
{%- set ipv6_prefix = dnsmasq_ipv6_subnet | split('/') | first %}
|
||||
|
||||
Reference in new issue
Block a user