2021-09-23 09:54:34 -06:00
|
|
|
---
|
|
|
|
# file: roles/haproxy/handlers/main.yml
|
|
|
|
|
2022-08-30 13:07:12 -06:00
|
|
|
- name: Daemon Reload
|
|
|
|
systemd:
|
|
|
|
daemon_reload: yes
|
|
|
|
|
2021-09-23 09:54:34 -06:00
|
|
|
- name: reload haproxy
|
|
|
|
service:
|
|
|
|
name: haproxy
|
|
|
|
state: reloaded
|
|
|
|
|
|
|
|
- name: reload keepalived
|
|
|
|
service:
|
|
|
|
name: keepalived
|
|
|
|
state: reloaded
|
|
|
|
|
|
|
|
- name: reload firewalld
|
|
|
|
service:
|
|
|
|
name: firewalld
|
|
|
|
state: reloaded
|
|
|
|
|
|
|
|
- name: Restart SSH
|
|
|
|
service:
|
|
|
|
name: sshd
|
|
|
|
state: restarted
|