mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-28 12:45:16 +01:00
14 lines
273 B
YAML
14 lines
273 B
YAML
---
|
|
- 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
|