mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-28 12:45:16 +01:00
Allow overriding php_fpm_daemon
This commit is contained in:
parent
ce8d9cad35
commit
528ab01605
@ -40,6 +40,11 @@
|
||||
when: php_opcache_enable
|
||||
notify: restart webserver
|
||||
|
||||
- name: Define php_fpm_daemon.
|
||||
set_fact:
|
||||
php_fpm_daemon: "{{ __php_fpm_daemon }}"
|
||||
when: php_fpm_daemon is not defined
|
||||
|
||||
- name: Ensure php-fpm is started and enabled at boot (if configured).
|
||||
service:
|
||||
name: "{{ php_fpm_daemon }}"
|
||||
|
@ -20,4 +20,4 @@ __php_extension_conf_path: "{{ __php_conf_path }}/conf.d"
|
||||
|
||||
__php_apc_conf_filename: 20-apc.ini
|
||||
__php_opcache_conf_filename: 05-opcache.ini
|
||||
php_fpm_daemon: php5-fpm
|
||||
__php_fpm_daemon: php5-fpm
|
||||
|
@ -21,4 +21,4 @@ php_extension_conf_path: /etc/php.d
|
||||
|
||||
__php_apc_conf_filename: apc.ini
|
||||
__php_opcache_conf_filename: opcache.ini
|
||||
php_fpm_daemon: php-fpm
|
||||
__php_fpm_daemon: php-fpm
|
||||
|
Loading…
Reference in New Issue
Block a user