ansible-role-apache/roles/ansible-role-php/handlers/main.yml
2016-07-06 07:38:28 +10:00

13 lines
273 B
YAML
Executable file

---
- name: restart webserver
service:
name: "{{ php_webserver_daemon }}"
state: restarted
notify: restart php-fpm
when: php_enable_webserver
- name: restart php-fpm
service:
name: "{{ php_fpm_daemon }}"
state: restarted
when: php_enable_php_fpm