20 lines
374 B
YAML
20 lines
374 B
YAML
|
---
|
||
|
- name: Restart rocketchat service
|
||
|
systemd:
|
||
|
name: rocketchat
|
||
|
state: restarted
|
||
|
daemon_reload: yes
|
||
|
enabled: yes
|
||
|
listen: __rocketchat_restart
|
||
|
become: True
|
||
|
become_user: root
|
||
|
|
||
|
- name: Reload nginx
|
||
|
systemd:
|
||
|
state: reloaded
|
||
|
name: nginx
|
||
|
listen: __nginx_reload
|
||
|
delegate_to: "{{ rocketchat_nginx_server }}"
|
||
|
become: True
|
||
|
become_user: root
|