c12s-kubespray/roles/dnsmasq/handlers/main.yml

15 lines
343 B
YAML
Raw Normal View History

- 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