ansible-role-zammad/handlers/main.yml

30 lines
565 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.command: systemctl restart zammad*
- name: restart opensearch
ansible.builtin.service:
name: opensearch
state: restarted