Skip to content

Commit 5a22d9a

Browse files
committed
fix linting errors after action update
1 parent 3197861 commit 5a22d9a

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

roles/sap_software_download/tasks/pre_steps/05_validate_relations.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@
7171

7272
- name: Relationship Validation - Define list of files
7373
ansible.builtin.set_fact:
74-
__sap_software_download_files: "{{ sap_software_download_files if not sap_software_download_find_alternatives
75-
else __sap_software_download_files_results_dryrun.results | selectattr('failed', 'false')| map(attribute='filename') | list | unique | d([])}}"
74+
__sap_software_download_files:
75+
"{{ sap_software_download_files
76+
if not sap_software_download_find_alternatives
77+
else __sap_software_download_files_results_dryrun.results | selectattr('failed', 'false') | map(attribute='filename') | list | unique | d([]) }}"
7678

7779

7880
- name: Relationship Validation - SAP HANA - Multiple IMDB_SERVER files found

roles/sap_software_download/vars/SLES_15.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ __sap_software_download_python_package: >-
2626
# The list of required Python Modules in packages
2727
# This is required in order to avoid externally-managed-environment error.
2828
__sap_software_download_python_module_packages:
29-
"{{ __sap_software_download_python_module_packages_3
30-
if ansible_distribution_version.split('.')[1] | int < 5
31-
else __sap_software_download_python_module_packages_311 }}"
29+
"{{ __sap_software_download_python_module_packages_3
30+
if ansible_distribution_version.split('.')[1] | int < 5
31+
else __sap_software_download_python_module_packages_311 }}"
3232

3333
# The lists of Python Modules for specific python version
3434
__sap_software_download_python_module_packages_3:

0 commit comments

Comments
 (0)