875cdad424
add systemd-resolved consul redirection
17 lines
370 B
YAML
17 lines
370 B
YAML
---
|
|
# handlers file for ansible-consul
|
|
- name: reload consul configuration on Linux
|
|
command: "consul reload"
|
|
listen: "reload consul configuration"
|
|
|
|
- name: restart dnsmasq
|
|
service:
|
|
name: dnsmasq
|
|
enabled: true
|
|
state: restarted
|
|
- name: restart systemd-resolved
|
|
ansible.builtin.service:
|
|
name: systemd-resolved
|
|
enabled: true
|
|
state: restarted
|