dhcpd: remove dhcpd__failover_peer
This commit is contained in:
parent
6d66e56b15
commit
1aba1e5606
1 changed files with 7 additions and 5 deletions
|
@ -58,11 +58,13 @@
|
|||
dhcpd__failover:
|
||||
dhcp-1.isp.infra.auro.re: 10.210.1.1
|
||||
dhcp-2.isp.infra.auro.re: 10.210.1.2
|
||||
dhcpd__failover_peer: "{{ dhcpd__failover.keys()
|
||||
| select('!=', inventory_hostname)
|
||||
| first }}"
|
||||
dhcpd__failover_address: "{{ dhcpd__failover[dhcpd__failover_peer] }}"
|
||||
dhcpd__failover_peer_address: "{{ dhcpd__failover[inventory_hostname] }}"
|
||||
dhcpd__failover_address: "{{ dhcpd__failover[inventory_hostname] }}"
|
||||
dhcpd__failover_peer_address: "{{ dhcpd__failover
|
||||
| dict2items
|
||||
| selectattr('key', '!=',
|
||||
inventory_hostname)
|
||||
| map(attribute='value')
|
||||
| first }}"
|
||||
roles:
|
||||
- dhcpd
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue