dnsservice/ansible/handlers/global.yml
2024-08-03 14:05:31 -05:00

22 lines
758 B
YAML

- name: reload caddy
service: name=caddy state=reloaded enabled=yes
listen: "reload caddy"
- name: restart sshd
service: name=sshd state=restarted enabled=yes
listen: "restart sshd"
- name: restart dnsdist
service: name=dnsdist-public state=restarted enabled=yes daemon-reload=true
listen: "restart dnsdist"
- name: restart prometheus
service: name=prometheus state=restarted enabled=yes
listen: "restart prometheus"
- name: reload prometheus
service: name=prometheus state=reloaded enabled=yes
listen: "reload prometheus"
- name: restart sdns
service: name=sdns state=restarted enabled=yes
listen: "restart sdns"
- name: restart blocky
service: name=blocky state=restarted enabled=yes daemon-reload=true
listen: "restart blocky"