Merge pull request #397 from BartOpitz/bugfix/with_flattened

fix with_flattened
This commit is contained in:
Jeff Geerling 2023-06-21 22:30:13 -05:00 committed by GitHub
commit 968636be8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -1,16 +1,16 @@
---
- name: Ensure configuration directories exist.
file:
ansible.builtin.file:
path: "{{ item }}"
state: directory
follow: true
mode: 0755
with_flattened:
- "{{ php_conf_paths }}"
- "{{ php_extension_conf_paths }}"
with_items:
- "{{ php_conf_paths | flatten }}"
- "{{ php_extension_conf_paths | flatten }}"
- name: Place PHP configuration file in place.
template:
ansible.builtin.template:
src: php.ini.j2
dest: "{{ item }}/php.ini"
owner: root