Disabling ip creation by default
This commit is contained in:
parent
c7b4e85d96
commit
3d07756e0a
2 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@
|
|||
autoconnect: yes
|
||||
type: vlan
|
||||
state: present
|
||||
when: (haproxy_keepalived_adapter_vlan != "") and (haproxy_keepalived_ip is defined)
|
||||
when: (haproxy_keepalived_adapter_vlan != "") and (haproxy_keepalived_ip != "")
|
||||
|
||||
- name: Add IP
|
||||
nmcli:
|
||||
|
@ -39,7 +39,7 @@
|
|||
autoconnect: yes
|
||||
type: ethernet
|
||||
state: present
|
||||
when: (haproxy_keepalived_adapter_vlan == "") and (haproxy_keepalived_ip is defined)
|
||||
when: (haproxy_keepalived_adapter_vlan == "") and (haproxy_keepalived_ip != "")
|
||||
|
||||
- name: Enable firewall rule for vrrp
|
||||
firewalld:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue