ifstated: Add default config for proxies and relays
This commit is contained in:
parent
6522cc20ba
commit
ca03926094
3 changed files with 3 additions and 5 deletions
|
@ -40,8 +40,6 @@ network_vip_interfaces:
|
|||
pass: "{{ vip154_pass }}"
|
||||
priority: "{{ vip154_priority }}"
|
||||
|
||||
ifstated_config: ifstated-proxy.conf
|
||||
|
||||
firewall_raw:
|
||||
- pass quick proto carp
|
||||
firewall_in:
|
||||
|
|
2
roles/ifstated/defaults/main.yml
Normal file
2
roles/ifstated/defaults/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
ifstated_config: ifstated.conf.j2
|
|
@ -1,6 +1,4 @@
|
|||
|
||||
# flush routes when external carp goes up
|
||||
if carp153.link.up
|
||||
run 'route -q flush ; route add default $(cat /etc/mygate)'
|
||||
if carp154.link.up
|
||||
if carp*.link.up
|
||||
run 'route -q flush ; route add default $(cat /etc/mygate)'
|
Loading…
Add table
Add a link
Reference in a new issue