|
|
|
|
|
|
|
|
- network: linux_interface_{{ network }} |
|
|
- network: linux_interface_{{ network }} |
|
|
{%- endfor %} |
|
|
{%- endfor %} |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
{%- if interface.type == 'vlan' %} |
|
|
|
|
|
- use: |
|
|
|
|
|
{%- for network in interface.use_interfaces %} |
|
|
|
|
|
- network: {{ network }} |
|
|
|
|
|
{%- endfor %} |
|
|
|
|
|
- require: |
|
|
|
|
|
{%- for network in interface.use_interfaces %} |
|
|
|
|
|
- network: {{ network }} |
|
|
|
|
|
{%- endfor %} |
|
|
|
|
|
{%- endif %} |
|
|
|
|
|
{%- if interface.type == 'bond' %} |
|
|
{%- if interface.type == 'bond' %} |
|
|
- slaves: {{ interface.slaves }} |
|
|
- slaves: {{ interface.slaves }} |
|
|
- mode: {{ interface.mode }} |
|
|
- mode: {{ interface.mode }} |