Fix deprecation warnings

freebsd
Emilien Mantel 2016-03-06 15:36:50 +01:00
parent 8763e3b789
commit dea67d8aea
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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