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
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