diff --git a/roles/network/tasks/netplan.yml b/roles/network/tasks/netplan.yml index 76428caf7..7e01fefeb 100644 --- a/roles/network/tasks/netplan.yml +++ b/roles/network/tasks/netplan.yml @@ -15,7 +15,7 @@ dest: /etc/netplan/{{ item }} with_items: - "{{ netplan.stdout_lines }}" - when: netplan.stdout.find("yml") != -1 + when: netplan.stdout.find("yaml") != -1 - name: Ensure systemd-networkd-wait-online is enabled systemd: @@ -41,7 +41,7 @@ - name: Supply netplan template template: - dest: /etc/netplan/01-iiab-config.yml + dest: /etc/netplan/01-iiab-config.yaml src: network/netplan.j2 backup: no