- name: Dnsmasq | apply resolvconf command: /bin/true notify: - Dnsmasq | kill dhclient - Dnsmasq | update resolvconf when: ansible_os_family != "CoreOS" - name: Dnsmasq | kill dhclient shell: kill -11 $(pidof dhclient) ignore_errors: true - name: Dnsmasq | update resolvconf command: resolvconf -u ignore_errors: true