31 lines
485 B
YAML
31 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
|
||
|
|