ansible-role-php/handlers/main.yml

13 lines
247 B
YAML
Raw Normal View History

2014-05-03 05:27:38 +02:00
---
- name: restart webserver
2014-09-21 06:15:45 +02:00
service:
name: "{{ php_webserver_daemon }}"
state: restarted
when: php_enable_webserver
2014-05-19 19:51:46 +02:00
- name: restart php-fpm
2014-09-21 06:15:45 +02:00
service:
name: "{{ php_fpm_daemon }}"
2014-09-21 06:15:45 +02:00
state: restarted
2014-05-19 19:51:46 +02:00
when: php_enable_php_fpm