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