diff --git a/handlers/main.yml b/handlers/main.yml index c2b5383..f4d0806 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,4 +1,4 @@ --- - name: Netplan Apply ansible.builtin.command: - cmd: netplan Apply + cmd: netplan apply diff --git a/tasks/network-interfaces.yml b/tasks/network-interfaces.yml index 68caaed..21ee61a 100644 --- a/tasks/network-interfaces.yml +++ b/tasks/network-interfaces.yml @@ -31,3 +31,9 @@ mode: "0644" when: net_ints is defined and net_ints | length != 0 notify: Netplan Apply + +- meta: flush_handlers + tags: + - network_interface + - networking +