Fix deprecation warnings
parent
8763e3b789
commit
dea67d8aea
|
@ -9,13 +9,13 @@
|
||||||
regexp='^;?{{ item.key }}'
|
regexp='^;?{{ item.key }}'
|
||||||
line='{{ item.key }} = {{ item.value }}'
|
line='{{ item.key }} = {{ item.value }}'
|
||||||
with_flattened:
|
with_flattened:
|
||||||
- php_ini
|
- "{{ php_ini }}"
|
||||||
- php_ini_fpm
|
- "{{ php_ini_fpm }}"
|
||||||
notify: restart php-fpm
|
notify: restart php-fpm
|
||||||
|
|
||||||
- name: TEMPLATE | Deploy pool configuration
|
- name: TEMPLATE | Deploy pool configuration
|
||||||
template: >
|
template: >
|
||||||
src=etc/__php__/fpm/pool.d/pool.conf.j2
|
src=etc/__php__/fpm/pool.d/pool.conf.j2
|
||||||
dest='{{ php_etc_dir }}/fpm/pool.d/{{ item.pool_name }}.conf'
|
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
|
notify: restart php-fpm
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
- name: APT | Install PHP packages
|
- name: APT | Install PHP packages
|
||||||
apt: pkg={{ item }} state=latest update_cache=yes cache_valid_time=3600
|
apt: pkg={{ item }} state=latest update_cache=yes cache_valid_time=3600
|
||||||
with_flattened:
|
with_flattened:
|
||||||
- php_packages
|
- "{{ php_packages }}"
|
||||||
- php_extra_packages
|
- "{{ php_extra_packages }}"
|
||||||
|
|
||||||
# Note: only needed for PHP5x + Xdebug
|
# Note: only needed for PHP5x + Xdebug
|
||||||
- name: COMMAND | Get PHP extension dir
|
- name: COMMAND | Get PHP extension dir
|
||||||
|
@ -30,8 +30,8 @@
|
||||||
regexp='^;?{{ item.key }}'
|
regexp='^;?{{ item.key }}'
|
||||||
line='{{ item.key }} = {{ item.value }}'
|
line='{{ item.key }} = {{ item.value }}'
|
||||||
with_flattened:
|
with_flattened:
|
||||||
- php_ini
|
- "{{ php_ini }}"
|
||||||
- php_ini_cli
|
- "{{ php_ini_cli }}"
|
||||||
|
|
||||||
- name: INCLUDE | Xdebug
|
- name: INCLUDE | Xdebug
|
||||||
include: xdebug.yml
|
include: xdebug.yml
|
||||||
|
|
Loading…
Reference in New Issue