ansible-consul/handlers/main.yml

17 lines
370 B
YAML
Raw Permalink Normal View History

2022-03-07 20:22:15 +00:00
---
# handlers file for ansible-consul
2024-08-04 09:52:27 +00:00
- name: Reload consul configuration on Linux
2022-03-12 10:17:02 +00:00
command: "consul reload"
listen: "reload consul configuration"
2022-04-03 18:39:52 +00:00
- name: restart dnsmasq
service:
name: dnsmasq
enabled: true
state: restarted
- name: restart systemd-resolved
ansible.builtin.service:
name: systemd-resolved
enabled: true
state: restarted