ansible-role-zammad/handlers/main.yml

25 lines
495 B
YAML
Raw Normal View History

2021-07-28 18:28:22 +02:00
---
- 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
2023-05-19 11:59:02 +02:00
ansible.builtin.command: "systemctl restart {{ zammad_service }}"
- name: restart opensearch
ansible.builtin.service:
name: opensearch
state: restarted