Split php.ini config for CLI/FPM

This commit is contained in:
Emilien Mantel
2015-08-28 09:48:25 +02:00
parent e35f77089a
commit 7e5d2a5258
4 changed files with 24 additions and 2 deletions

View File

@@ -5,7 +5,9 @@
- name: LINEINFILE | PHP configuration
lineinfile: dest=/etc/php5/fpm/php.ini regexp='^;?{{ item.key }}' line='{{ item.key }} = {{ item.value }}'
with_items: php_ini
with_flattened:
- php_ini
- php_ini_fpm
notify: restart php-fpm
- name: TEMPLATE | Deploy pool configuration

View File

@@ -15,6 +15,12 @@
include: fpm.yml
when: php_install_fpm
- name: LINEINFILE | PHP configuration
lineinfile: dest=/etc/php5/cli/php.ini regexp='^;?{{ item.key }}' line='{{ item.key }} = {{ item.value }}'
with_flattened:
- php_ini
- php_ini_cli
- name: INCLUDE | Xdebug
include: xdebug.yml
when: php_install_xdebug