--- - name: restart dnsmasq become: true ansible.builtin.systemd: name: dnsmasq state: restarted