From 6f32b711314506f3c5fe3f98c5045fb442392829 Mon Sep 17 00:00:00 2001 From: Bernd Finger Date: Wed, 28 Feb 2024 23:14:00 +0100 Subject: [PATCH] sap_swpm: Fix ansible-lint Relates to #663. Signed-off-by: Bernd Finger --- roles/sap_swpm/tasks/swpm/prepare_software.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/sap_swpm/tasks/swpm/prepare_software.yml b/roles/sap_swpm/tasks/swpm/prepare_software.yml index 9980346c0..5849d9774 100644 --- a/roles/sap_swpm/tasks/swpm/prepare_software.yml +++ b/roles/sap_swpm/tasks/swpm/prepare_software.yml @@ -32,13 +32,13 @@ - name: SAP SWPM Pre Install - Create list of absolute directory names from the find result ansible.builtin.set_fact: - __sap_swpm_fact_directories: "{{ __sap_swpm_fact_directories|d([]) + [ item.path ] }}" + __sap_swpm_fact_directories: "{{ __sap_swpm_fact_directories | d([]) + [item.path] }}" loop: "{{ __sap_swpm_register_find_result_directories.files }}" when: __sap_swpm_register_find_result_directories is defined - name: SAP SWPM Pre Install - Create list of absolute file names for non-SAPCAR files from the find result ansible.builtin.set_fact: - __sap_swpm_fact_files_non_sapcar: "{{ __sap_swpm_fact_files_non_sapcar|d([]) + [ item.path ] }}" + __sap_swpm_fact_files_non_sapcar: "{{ __sap_swpm_fact_files_non_sapcar | d([]) + [item.path] }}" loop: "{{ __sap_swpm_register_find_result_files_non_sapcar.files }}" when: __sap_swpm_register_find_result_files_non_sapcar is defined