20 lines
351 B
YAML
20 lines
351 B
YAML
---
|
|
- name: Restart service
|
|
systemd:
|
|
name: matrix
|
|
state: restarted
|
|
daemon_reload: yes
|
|
enabled: yes
|
|
listen: __matrix_restart
|
|
become: True
|
|
become_user: root
|
|
|
|
- name: Reload nginx
|
|
systemd:
|
|
state: reloaded
|
|
name: nginx
|
|
listen: __nginx_reload
|
|
delegate_to: "{{ matrix_nginx_server }}"
|
|
become: True
|
|
become_user: root
|