mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-11-12 04:24:04 +07:00
Split php.ini config for CLI/FPM
This commit is contained in:
1 parent
e35f77089a
commit
7e5d2a5258
4 files changed
+24
-2
No files matched your search
+3
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user