Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
state: present


- name: SAP Software Download - Prepare - Install additional required packages
ansible.builtin.package:
name: "{{ __sap_software_download_additional_packages }}"
state: present
when: __sap_software_download_additional_packages | length > 0


- name: SAP Software Download - Prepare - Create download directory '{{ sap_software_download_directory }}'
ansible.builtin.file:
path: "{{ sap_software_download_directory }}"
Expand Down
4 changes: 4 additions & 0 deletions roles/sap_software_download/vars/RedHat_10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ __sap_software_download_python_interpreter: 'python3.12'
# Set which Python package will be installed on destination node.
__sap_software_download_python_package: 'python3.12'

# Set which additional packages need to be installed.
__sap_software_download_additional_packages:
- python3-packaging

# The list of required Python Modules in packages
# This is required in order to avoid externally-managed-environment error.
__sap_software_download_python_module_packages:
Expand Down
3 changes: 3 additions & 0 deletions roles/sap_software_download/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ __sap_software_download_python_modules:
- beautifulsoup4
- lxml

# Set which additional packages need to be installed, if any.
__sap_software_download_additional_packages: []

# The list of required Python Modules in packages
# This is required in order to avoid externally-managed-environment error.
# Specific packages are available in OS specific var files
Expand Down