mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2025-01-23 21:31:19 +01:00
fix with_flattened
This commit is contained in:
parent
153b163c25
commit
7040702c5e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user