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