--- - name: reload dnsmasq systemd: name=dnsmasq state=reloaded delegate_to: localhost connection: local - name: restart container command: cmd: "/usr/bin/incus restart {{ inventory_hostname }}" delegate_to: localhost connection: local