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
|