mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-02-24 09:23:29 +07:00
Fix deprecation warnings
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
regexp='^;?{{ item.key }}'
|
||||
line='{{ item.key }} = {{ item.value }}'
|
||||
with_flattened:
|
||||
- php_ini
|
||||
- php_ini_fpm
|
||||
- "{{ php_ini }}"
|
||||
- "{{ php_ini_fpm }}"
|
||||
notify: restart php-fpm
|
||||
|
||||
- name: TEMPLATE | Deploy pool configuration
|
||||
template: >
|
||||
src=etc/__php__/fpm/pool.d/pool.conf.j2
|
||||
dest='{{ php_etc_dir }}/fpm/pool.d/{{ item.pool_name }}.conf'
|
||||
with_items: php_fpm_poold
|
||||
with_items: "{{ php_fpm_poold }}"
|
||||
notify: restart php-fpm
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
- name: APT | Install PHP packages
|
||||
apt: pkg={{ item }} state=latest update_cache=yes cache_valid_time=3600
|
||||
with_flattened:
|
||||
- php_packages
|
||||
- php_extra_packages
|
||||
- "{{ php_packages }}"
|
||||
- "{{ php_extra_packages }}"
|
||||
|
||||
# Note: only needed for PHP5x + Xdebug
|
||||
- name: COMMAND | Get PHP extension dir
|
||||
@@ -30,8 +30,8 @@
|
||||
regexp='^;?{{ item.key }}'
|
||||
line='{{ item.key }} = {{ item.value }}'
|
||||
with_flattened:
|
||||
- php_ini
|
||||
- php_ini_cli
|
||||
- "{{ php_ini }}"
|
||||
- "{{ php_ini_cli }}"
|
||||
|
||||
- name: INCLUDE | Xdebug
|
||||
include: xdebug.yml
|
||||
|
||||
Reference in New Issue
Block a user