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