ifstated: Add new dna-gw hosts
This commit is contained in:
parent
93882ff716
commit
ba057bb8c9
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ state backup {
|
||||||
run "/sbin/route -qn add default 172.20.30.4"
|
run "/sbin/route -qn add default 172.20.30.4"
|
||||||
{% elif inventory_hostname == "dna-gw04.lan.foo.sh" %}
|
{% elif inventory_hostname == "dna-gw04.lan.foo.sh" %}
|
||||||
run "/sbin/route -qn add default 172.20.30.3"
|
run "/sbin/route -qn add default 172.20.30.3"
|
||||||
|
{% elif inventory_hostname == "dna-gw05.iot.foo.sh" %}
|
||||||
|
run "/sbin/route -qn add default 172.20.27.6"
|
||||||
|
{% elif inventory_hostname == "dna-gw06.iot.foo.sh" %}
|
||||||
|
run "/sbin/route -qn add default 172.20.27.5"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
if $if_carp_up {
|
if $if_carp_up {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue