ansible-role-nextcloud/handlers/main.yml

26 lines
478 B
YAML
Raw Normal View History

2020-12-03 15:52:14 +01:00
---
- name: reload apache
service:
name: apache2
state: reloaded
2020-12-03 23:14:27 +01:00
- name: restart apache
service:
2020-12-03 15:52:14 +01:00
name: apache2
state: restarted
- name: reload nginx
service:
name: nginx
state: reloaded
2021-06-26 02:32:29 +02:00
delegate_to: "{{ gateway_host }}"
2020-12-03 15:52:14 +01:00
- name: stop php-fpm-socket
command: systemctl stop php-fpm@*.socket
- name: stop php-fpm-service
command: systemctl stop php-fpm@*.service
- name: start php-fpm-socket
command: systemctl start php-fpm@*.socket --all