ansible-role-zammad/handlers/main.yml
phil 969493b4c7 zammad: Fix handler
Ansibles' systemd module doesn't support wildcards
2023-03-19 20:18:31 +01:00

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