Commit 228478b8 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

add default interface for easy case

parent e7dd6ebf
Pipeline #3691 passed with stage
in 52 seconds
{% set network = {
'interface': item.1.interface|default(ansible_default_ipv4.interface),
'interface': item.1.interface|default(networkd_interface|default(ansible_default_ipv4.interface)),
'addresses': item.1.addresses|default([item.1.adress|default(networkd_address)]),
'gateway': item.1.gateway|default(networkd_gateway),
} %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment