ansible-consul/handlers/main.yml
2024-08-04 11:52:27 +02:00

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