Ansible-Zammad/roles/zammad/handlers/main.yml
2023-04-04 15:33:23 -06:00

30 lines
485 B
YAML

---
# file: roles/zammad/handlers/main.yml
- name: Daemon Reload
systemd:
daemon_reload: yes
- name: Reload nginx
service:
name: nginx
state: reloaded
- name: Zammad precompile
shell: zammad run rake assets:precompile
- name: Restart elasticsearch
service:
name: elasticsearch
state: restarted
- name: Restart postgresql
service:
name: postgresql
state: restarted
- name: Reload firewalld
service:
name: firewalld
state: reloaded