ansible-role-zammad/handlers/main.yml

29 lines
580 B
YAML

---
- name: reload monit
ansible.builtin.service:
name: monit
state: reloaded
- 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