[interfaces] Search crans.org on srv

certbot_on_virtu
_benjamin 2020-08-23 20:30:54 +02:00
parent c416276194
commit 4970f3b725
1 changed files with 4 additions and 0 deletions

View File

@ -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 %}