mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-24 12:06:02 +01:00
13 lines
232 B
YAML
13 lines
232 B
YAML
---
|
|
- name: restart webserver
|
|
service:
|
|
name: "{{ php_webserver_daemon }}"
|
|
state: restarted
|
|
when: php_enable_webserver
|
|
|
|
- name: restart php-fpm
|
|
service:
|
|
name: php-fpm
|
|
state: restarted
|
|
when: php_enable_php_fpm
|