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