From 96862210f05148f90663bc291e30725dcc4141fd Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 26 Oct 2023 13:03:15 +0200 Subject: [PATCH] Fix the netplan conditional. --- tasks/network-interfaces.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/network-interfaces.yml b/tasks/network-interfaces.yml index 21ee61a..de5eef3 100644 --- a/tasks/network-interfaces.yml +++ b/tasks/network-interfaces.yml @@ -29,10 +29,11 @@ owner: root group: root mode: "0644" - when: net_ints is defined and net_ints | length != 0 + when: ubuntu_netplan_interfaces is defined and ubuntu_netplan_interfaces | length != 0 notify: Netplan Apply -- meta: flush_handlers +- name: Force the Netplan Apply command execution + ansible.builtin.meta: flush_handlers tags: - network_interface - networking