ansible-role-basic-system-s.../templates/netplan-70-ansible.yaml.j2

15 lines
324 B
Django/Jinja

network:
version: 2
ethernets:
{% for int in new_ints %}
{{ int }}:
dhcp4: true
{% if ubuntu_configure_additional_int_dhcp_overrides | default(true) %}
dhcp4-overrides:
use-dns: false
use-routes: false
use-mtu: true
{% endif %}
{% endfor %}