From 7040702c5e170f8791627ad6a9d4b2fbd8192a6f Mon Sep 17 00:00:00 2001 From: Bartlomiej Sowa Date: Thu, 30 Mar 2023 16:41:34 +0200 Subject: [PATCH] fix with_flattened --- tasks/configure.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index e0e1434..68eafa0 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -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