network: version: 2 renderer: networkd ethernets: {{ network.primary.interface }}: addresses: [ {{ (network.primary.ip + '/' + network.primary.mask) | ipaddr('address/prefix') }} ] accept-ra: false vlans: {{ network.primary.interface }}.{{ network_zones.ccinet.vlan }}: id: {{ network_zones.ccinet.vlan }} link: {{ network.primary.interface }} addresses: [ {{ network_zones.ccinet.prefix | ipaddr(network_zones.ccinet.offsets[inventory_hostname]) | ipaddr('address/prefix') }} ] gateway4: {{ network_zones.ccinet.gw }} accept-ra: false nameservers: search: [ {{ network.domain }} ] addresses: {{ network_zones.ccinet.dns | to_json }}