|
|
|
|
|
|
|
|
- enabled: {{ interface.enabled }} |
|
|
- enabled: {{ interface.enabled }} |
|
|
- name: {{ interface_name }} |
|
|
- name: {{ interface_name }} |
|
|
- type: {{ interface.type }} |
|
|
- type: {{ interface.type }} |
|
|
{% if interface.mtu is defined %} |
|
|
|
|
|
- mtu: {{ interface.mtu }} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{%- if interface.address is defined %} |
|
|
{%- if interface.address is defined %} |
|
|
{%- if grains.os_family == 'Debian' %} |
|
|
{%- if grains.os_family == 'Debian' %} |
|
|
- proto: {{ interface.get('proto', 'static') }} |
|
|
- proto: {{ interface.get('proto', 'static') }} |