Merge branch 'interfaces' into 'newinfra'
[interfaces] Search crans.org on srv See merge request nounous/ansible!75certbot_on_virtu
						commit
						bd7502e86c
					
				| 
						 | 
				
			
			@ -21,7 +21,11 @@ iface {{ interfaces[item.name] }} inet static
 | 
			
		|||
{% if item.dns is defined %}
 | 
			
		||||
	dns-nameservers {{ item.dns }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if vlan_name == 'srv' %}
 | 
			
		||||
	dns-search crans.org
 | 
			
		||||
{% else %}
 | 
			
		||||
	dns-search {{ vlan_name }}.crans.org
 | 
			
		||||
{% endif %}
 | 
			
		||||
	up /sbin/ip link set $IFACE alias {{ vlan_name }}
 | 
			
		||||
{% if ansible_local.interfaces.sup_if_4 is defined %}
 | 
			
		||||
{% if interfaces[item.name] in ansible_local.interfaces.sup_if_4 %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue