ansible-role-zammad/handlers/main.yml

32 lines
578 B
YAML
Raw Normal View History

2021-07-28 18:28:22 +02:00
---
- name: reload monit
2022-12-21 10:57:39 +01:00
ansible.builtin.service:
2021-07-28 18:28:22 +02:00
name: monit
state: reloaded
- name: reload nginx
2022-12-21 10:57:39 +01:00
ansible.builtin.service:
2021-07-28 18:28:22 +02:00
name: nginx
state: reloaded
- name: reload reverse_proxy
2022-12-21 10:57:39 +01:00
ansible.builtin.service:
2021-07-28 18:28:22 +02:00
name: nginx
state: reloaded
delegate_to: "{{ gateway_host }}"
- name: reload rsyslog
2022-12-21 10:57:39 +01:00
ansible.builtin.service:
2021-07-28 18:28:22 +02:00
name: rsyslog
state: reloaded
2022-12-21 10:57:39 +01:00
- name: restart zammad
ansible.builtin.systemd:
name: zammad*
state: restarted
- name: restart opensearch
ansible.builtin.service:
name: opensearch
state: restarted