Another approach at fixing weird Ansible bug.
This commit is contained in:
parent
e97372fe90
commit
ff6adcc3f4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue