Add VIP address to print hosts
This commit is contained in:
parent
c41495066b
commit
32bcba70cb
2 changed files with 13 additions and 0 deletions
|
@ -1,4 +1,15 @@
|
|||
---
|
||||
network_vip_interfaces:
|
||||
- device: eth1
|
||||
vhid: 24
|
||||
ipaddr: 172.20.24.1
|
||||
netmask: 255.255.0.0
|
||||
pass: "{{ vip24_pass }}"
|
||||
priority: "{{ vip24_priority }}"
|
||||
|
||||
firewall_in:
|
||||
- {proto: tcp, port: 22, from: [172.20.20.0/22]}
|
||||
- {proto: tcp, port: 443, from: [172.20.20.0/22]}
|
||||
firewall_raw:
|
||||
- "-A INPUT -i eth1 -d 224.0.0.0/8 -j ACCEPT"
|
||||
- "-A INPUT -i eth1 -p vrrp -j ACCEPT"
|
||||
|
|
|
@ -9,3 +9,5 @@ network_interfaces:
|
|||
ipaddr: 172.20.24.2
|
||||
netmask: 255.255.255.0
|
||||
proto: static
|
||||
|
||||
vip24_priority: 128
|
||||
|
|
Loading…
Add table
Reference in a new issue