gateway
This commit is contained in:
parent
11608a239a
commit
8016aec966
|
@ -1,5 +1,5 @@
|
||||||
- name: Install required system packages
|
- name: Install required system packages
|
||||||
apt: name={{ item }} state=latest update_cache=yes
|
apt: name={{ item }} state=present update_cache=yes
|
||||||
loop: [
|
loop: [
|
||||||
'ifupdown',
|
'ifupdown',
|
||||||
'ifenslave',
|
'ifenslave',
|
||||||
|
|
|
@ -11,6 +11,7 @@ auto {{OOBNET_NIC}}
|
||||||
allow-hotplug {{OOBNET_NIC}}
|
allow-hotplug {{OOBNET_NIC}}
|
||||||
iface {{OOBNET_NIC}} inet static
|
iface {{OOBNET_NIC}} inet static
|
||||||
address {{OOBNET_IP}}/{{OOBNET_Netmask}}
|
address {{OOBNET_IP}}/{{OOBNET_Netmask}}
|
||||||
|
{% if OOBNET_GW is defined %}gateway {{OOBNET_GW}}{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if autobgp_interfaces is defined %}
|
{% if autobgp_interfaces is defined %}
|
||||||
|
|
Loading…
Reference in New Issue