ansible-role-nextcloud/handlers/main.yml

30 lines
559 B
YAML

---
- name: reload apache
service:
name: apache2
state: reloaded
- name: restart apache
service:
name: apache2
state: restarted
- name: reload nginx
service:
name: nginx
state: reloaded
delegate_to: "{{ gateway_host }}"
- name: restart munin-node
service:
name: munin-node
state: restarted
- 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