diff --git a/tasks/fpm.yml b/tasks/fpm.yml index 2ea300e..2e83917 100644 --- a/tasks/fpm.yml +++ b/tasks/fpm.yml @@ -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 diff --git a/tasks/main.yml b/tasks/main.yml index 6768fdb..edf3859 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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