ansible-role-nextcloud/handlers/main.yml

22 lines
346 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 phpfpm
service:
name: "php{{ php_version }}-fpm"
state: restarted