Another approach at fixing weird Ansible bug.

This commit is contained in:
Buster Silver 2017-05-14 04:50:17 -05:00
parent e97372fe90
commit ff6adcc3f4
1 changed files with 1 additions and 2 deletions

View File

@ -55,8 +55,7 @@
- name: Create Locales
become: true
locale_gen: name="{{ item }}" state=present
with_items: "{{ locale_list.stdout_lines }}"
when: locale_list.stdout_lines is defined
with_items: "{{ locale_list|default([]).stdout_lines }}"
- name: Configure PHP FPM Pool
template: src=fpmpool.j2 dest=/etc/php/7.1/fpm/pool.d/www.conf force=true