netplan apply handler is too disruptive
the netplan apply
command is very disruptive and tend to make network unavailable temporarily. A better approach could be to use the netplan generate
and networkctl reload
combination.
Edited by Nicolas Froger