Merge pull request #62 from thom8/override_php_fpm_daemon

Allow overriding php_fpm_daemon
This commit is contained in:
Jeff Geerling 2015-12-06 21:48:31 -06:00
commit 5dfce28b75
3 changed files with 7 additions and 2 deletions

View File

@ -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 }}"

View File

@ -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

View File

@ -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