ansible-role-nextcloud/handlers/main.yml
2021-05-10 22:35:51 +02:00

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