|
|
|
|
|
|
|
|
{%- if interface.name_servers is defined %} |
|
|
{%- if interface.name_servers is defined %} |
|
|
- dns: {{ interface.name_servers }} |
|
|
- dns: {{ interface.name_servers }} |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
|
|
|
{%- if interface.metric is defined and grains.os_family == 'Debian' %} |
|
|
|
|
|
- metric: {{ interface.metric }} |
|
|
|
|
|
{%- endif %} |
|
|
{%- if interface.wireless is defined and grains.os_family == 'Debian' %} |
|
|
{%- if interface.wireless is defined and grains.os_family == 'Debian' %} |
|
|
{%- if interface.wireless.security == "wpa" %} |
|
|
{%- if interface.wireless.security == "wpa" %} |
|
|
- wpa-ssid: {{ interface.wireless.essid }} |
|
|
- wpa-ssid: {{ interface.wireless.essid }} |