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
|
2015-02-26 21:17:51 +01:00
|
|
|
notify: restart php-fpm
|
2014-05-25 05:08:20 +02:00
|
|
|
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:
|
2014-11-16 22:38:51 +01:00
|
|
|
name: "{{ php_fpm_daemon }}"
|
2020-06-16 18:32:30 +02:00
|
|
|
state: "{{ php_fpm_handler_state }}"
|
2020-03-06 16:38:47 +01:00
|
|
|
when:
|
|
|
|
- php_enable_php_fpm
|
|
|
|
- php_fpm_state == 'started'
|
2023-05-22 09:50:07 +02:00
|
|
|
- not ansible_check_mode
|