[interfaces] allow-hotplug to auto
parent
d1cad85bfa
commit
51f49eb461
|
@ -1,7 +1,7 @@
|
||||||
{{ ansible_header | comment }}
|
{{ ansible_header | comment }}
|
||||||
|
|
||||||
{% set srv = hostvars[inventory_hostname]['ansible_' + srv_iface.stdout] %}
|
{% set srv = hostvars[inventory_hostname]['ansible_' + srv_iface.stdout] %}
|
||||||
allow-hotplug {{ srv_iface.stdout }}
|
auto {{ srv_iface.stdout }}
|
||||||
iface {{ srv_iface.stdout }} inet static
|
iface {{ srv_iface.stdout }} inet static
|
||||||
address {{ srv.ipv4.address }}
|
address {{ srv.ipv4.address }}
|
||||||
network {{ srv.ipv4.network }}
|
network {{ srv.ipv4.network }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ ansible_header | comment }}
|
{{ ansible_header | comment }}
|
||||||
|
|
||||||
{% set ens = hostvars[inventory_hostname]['ansible_' + ens_iface.stdout] %}
|
{% set ens = hostvars[inventory_hostname]['ansible_' + ens_iface.stdout] %}
|
||||||
allow-hotplug {{ ens_iface.stdout }}
|
auto {{ ens_iface.stdout }}
|
||||||
iface {{ ens_iface.stdout }} inet static
|
iface {{ ens_iface.stdout }} inet static
|
||||||
address {{ ens.ipv4.address }}
|
address {{ ens.ipv4.address }}
|
||||||
network {{ ens.ipv4.network }}
|
network {{ ens.ipv4.network }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ ansible_header | comment }}
|
{{ ansible_header | comment }}
|
||||||
|
|
||||||
{% set adm = hostvars[inventory_hostname]['ansible_' + adm_iface.stdout] %}
|
{% set adm = hostvars[inventory_hostname]['ansible_' + adm_iface.stdout] %}
|
||||||
allow-hotplug {{ adm_iface.stdout }}
|
auto {{ adm_iface.stdout }}
|
||||||
iface {{ adm_iface.stdout }} inet static
|
iface {{ adm_iface.stdout }} inet static
|
||||||
address {{ adm.ipv4.address }}
|
address {{ adm.ipv4.address }}
|
||||||
network {{ adm.ipv4.network }}
|
network {{ adm.ipv4.network }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ ansible_header | comment }}
|
{{ ansible_header | comment }}
|
||||||
|
|
||||||
{% set borne = hostvars[inventory_hostname]['ansible_' + borne_iface.stdout] %}
|
{% set borne = hostvars[inventory_hostname]['ansible_' + borne_iface.stdout] %}
|
||||||
allow-hotplug {{ borne_iface.stdout }}
|
auto {{ borne_iface.stdout }}
|
||||||
iface {{ borne_iface.stdout }} inet static
|
iface {{ borne_iface.stdout }} inet static
|
||||||
address {{ borne.ipv4.address }}
|
address {{ borne.ipv4.address }}
|
||||||
network {{ borne.ipv4.network }}
|
network {{ borne.ipv4.network }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ ansible_header | comment }}
|
{{ ansible_header | comment }}
|
||||||
|
|
||||||
{% set switch = hostvars[inventory_hostname]['ansible_' + switch_iface.stdout] %}
|
{% set switch = hostvars[inventory_hostname]['ansible_' + switch_iface.stdout] %}
|
||||||
allow-hotplug {{ switch_iface.stdout }}
|
auto {{ switch_iface.stdout }}
|
||||||
iface {{ switch_iface.stdout }} inet static
|
iface {{ switch_iface.stdout }} inet static
|
||||||
address {{ switch.ipv4.address }}
|
address {{ switch.ipv4.address }}
|
||||||
network {{ switch.ipv4.network }}
|
network {{ switch.ipv4.network }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ ansible_header | comment }}
|
{{ ansible_header | comment }}
|
||||||
|
|
||||||
{% set fil = hostvars[inventory_hostname]['ansible_' + fil_iface.stdout] %}
|
{% set fil = hostvars[inventory_hostname]['ansible_' + fil_iface.stdout] %}
|
||||||
allow-hotplug {{ fil_iface.stdout }}
|
auto {{ fil_iface.stdout }}
|
||||||
iface {{ fil_iface.stdout }} inet static
|
iface {{ fil_iface.stdout }} inet static
|
||||||
address {{ fil.ipv4.address }}
|
address {{ fil.ipv4.address }}
|
||||||
network {{ fil.ipv4.network }}
|
network {{ fil.ipv4.network }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ ansible_header | comment }}
|
{{ ansible_header | comment }}
|
||||||
|
|
||||||
{% set adh = hostvars[inventory_hostname]['ansible_' + adh_iface.stdout] %}
|
{% set adh = hostvars[inventory_hostname]['ansible_' + adh_iface.stdout] %}
|
||||||
allow-hotplug {{ adh_iface.stdout }}
|
auto {{ adh_iface.stdout }}
|
||||||
iface {{ adh_iface.stdout }} inet static
|
iface {{ adh_iface.stdout }} inet static
|
||||||
address {{ adh.ipv4.address }}
|
address {{ adh.ipv4.address }}
|
||||||
network {{ adh.ipv4.network }}
|
network {{ adh.ipv4.network }}
|
||||||
|
|
Loading…
Reference in New Issue