ansible-role-zammad/handlers/main.yml
2023-12-22 08:46:29 +01:00

24 lines
495 B
YAML

---
- name: reload nginx
ansible.builtin.service:
name: nginx
state: reloaded
- name: reload reverse_proxy
ansible.builtin.service:
name: nginx
state: reloaded
delegate_to: "{{ gateway_host }}"
- name: reload rsyslog
ansible.builtin.service:
name: rsyslog
state: reloaded
- name: restart zammad
ansible.builtin.command: "systemctl restart {{ zammad_service }}"
- name: restart opensearch
ansible.builtin.service:
name: opensearch
state: restarted