network: Don't explicitly set network_carp_interfaces

This commit is contained in:
Timo Makinen 2021-03-19 17:17:57 +00:00
parent d187472f27
commit f8fe21c4a1
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,2 @@
---
network_interfaces: []
network_carp_interfaces: []

View file

@ -24,7 +24,9 @@
sysctl:
name: net.inet.carp.preempt
value: "1"
when: network_carp_interfaces != []
when:
- network_carp_interfaces is defined
- network_carp_interfaces != []
- name: set default gateway
copy: