Issue #17: Fix for proper configuration paths in Debian/Ubuntu for apache2.

This commit is contained in:
Jeff Geerling 2015-02-26 14:31:11 -06:00
parent d3e2ac586f
commit 6b5693fd73
3 changed files with 2 additions and 7 deletions

View File

@ -18,11 +18,6 @@
php_conf_path: "{{ __php_conf_path }}"
when: php_conf_path is not defined
- name: Define php_extension_conf_path.
set_fact:
php_extension_conf_path: "{{ __php_extension_conf_path }}"
when: php_extension_conf_path is not defined
# Setup/install tasks.
- include: setup-RedHat.yml
when: ansible_os_family == 'RedHat'

View File

@ -14,7 +14,7 @@ __php_webserver_daemon: "apache2"
# Vendor-specific configuration paths on Debian/Ubuntu make my brain asplode.
__php_conf_path: "{{ '/etc/php5' if php_webserver_daemon and php_webserver_daemon != 'apache2' else '/etc/php5/apache2' }}"
__php_extension_conf_path: "{{ __php_conf_path }}/conf.d"
php_extension_conf_path: "/etc/php5/conf.d"
php_apc_conf_filename: 20-apc.ini
php_fpm_daemon: php5-fpm

View File

@ -18,7 +18,7 @@ __php_packages:
__php_webserver_daemon: "httpd"
__php_conf_path: /etc
__php_extension_conf_path: /etc/php.d
php_extension_conf_path: /etc/php.d
php_apc_conf_filename: apc.ini
php_fpm_daemon: php-fpm