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
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ community.sap\_launchpad Release Notes

.. contents:: Topics

v1.3.2
======

Release Summary
---------------

Bug fixes for compatibility with ansible-core 2.20.

Bugfixes
--------
- all - Replace inject vars with ansible_facts for 2.20 (https://github.com/sap-linuxlab/community.sap_launchpad/pull/59)


v1.3.1
======

Expand Down
53 changes: 41 additions & 12 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For specific role maintainers, see the `README.md` file in the corresponding rol

| Name | Commits | Lines Changed | Last Commit |
| ---- | ------- | ------------- | ----------- |
| [Marcel Mamula](https://github.com/marcelmamula) | 45 | 11303 | 2025-11-11 |
| [Marcel Mamula](https://github.com/marcelmamula) | 47 | 11440 | 2026-03-17 |
| [Sean Freeman](https://github.com/sean-freeman) | 35 | 2915 | 2025-03-31 |
| [Matthias Winzeler](https://github.com/MatthiasWinzeler) | 12 | 885 | 2023-11-12 |
| [Markus Koch](https://github.com/rhmk) | 1 | 32 | 2022-10-21 |
Expand All @@ -31,7 +31,7 @@ For specific role maintainers, see the `README.md` file in the corresponding rol

| Name | Commits | Lines Changed | Last Commit |
| ---- | ------- | ------------- | ----------- |
| [Marcel Mamula](https://github.com/marcelmamula) | 15 | 2408 | 2025-09-10 |
| [Marcel Mamula](https://github.com/marcelmamula) | 16 | 2438 | 2026-03-17 |

## Contributions by Module

Expand All @@ -42,6 +42,14 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
| [Matthias Winzeler](https://github.com/MatthiasWinzeler) | 9 | 351 | 2023-11-12 |
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 181 | 2025-10-08 |

### Module: maintenance_planner_files.py

| Name | Commits | Lines Changed | Last Commit |
| ---- | ------- | ------------- | ----------- |
| [Marcel Mamula](https://github.com/marcelmamula) | 4 | 134 | 2025-10-08 |
| [Sean Freeman](https://github.com/sean-freeman) | 2 | 161 | 2024-11-09 |
| [Matthias Winzeler](https://github.com/MatthiasWinzeler) | 1 | 3 | 2023-11-17 |

### Module: maintenance_planner_stack_xml_download.py

| Name | Commits | Lines Changed | Last Commit |
Expand All @@ -50,28 +58,49 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
| [Sean Freeman](https://github.com/sean-freeman) | 3 | 156 | 2024-11-09 |
| [Matthias Winzeler](https://github.com/MatthiasWinzeler) | 1 | 3 | 2023-11-17 |

### Module: software_center_download.py

| Name | Commits | Lines Changed | Last Commit |
| ---- | ------- | ------------- | ----------- |
| [Marcel Mamula](https://github.com/marcelmamula) | 11 | 627 | 2025-10-08 |
| [Sean Freeman](https://github.com/sean-freeman) | 6 | 189 | 2024-11-09 |
| [Matthias Winzeler](https://github.com/MatthiasWinzeler) | 1 | 3 | 2023-11-17 |
| [Markus Koch](https://github.com/rhmk) | 1 | 11 | 2022-10-21 |
| 朱聖黎 Zhu Sheng Li | 1 | 44 | 2022-04-11 |

### Module: systems_info.py

| Name | Commits | Lines Changed | Last Commit |
| ---- | ------- | ------------- | ----------- |
| [Matthias Winzeler](https://github.com/MatthiasWinzeler) | 5 | 121 | 2023-11-12 |
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 72 | 2025-10-08 |

### Module: maintenance_planner_files.py
## Contributions by Module Utilities

### Utility: auth.py

| Name | Commits | Lines Changed | Last Commit |
| ---- | ------- | ------------- | ----------- |
| [Marcel Mamula](https://github.com/marcelmamula) | 4 | 134 | 2025-10-08 |
| [Sean Freeman](https://github.com/sean-freeman) | 2 | 161 | 2024-11-09 |
| [Matthias Winzeler](https://github.com/MatthiasWinzeler) | 1 | 3 | 2023-11-17 |
| [Marcel Mamula](https://github.com/marcelmamula) | 5 | 348 | 2025-10-08 |

### Module: software_center_download.py
### Utility: client.py

| Name | Commits | Lines Changed | Last Commit |
| ---- | ------- | ------------- | ----------- |
| [Marcel Mamula](https://github.com/marcelmamula) | 11 | 627 | 2025-10-08 |
| [Sean Freeman](https://github.com/sean-freeman) | 6 | 189 | 2024-11-09 |
| [Matthias Winzeler](https://github.com/MatthiasWinzeler) | 1 | 3 | 2023-11-17 |
| [Markus Koch](https://github.com/rhmk) | 1 | 11 | 2022-10-21 |
| 朱聖黎 Zhu Sheng Li | 1 | 44 | 2022-04-11 |
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 164 | 2025-10-08 |

### Utility: constants.py

| Name | Commits | Lines Changed | Last Commit |
| ---- | ------- | ------------- | ----------- |
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 30 | 2025-09-09 |
| [Sean Freeman](https://github.com/sean-freeman) | 2 | 39 | 2023-11-28 |
| [Matthias Winzeler](https://github.com/MatthiasWinzeler) | 1 | 1 | 2023-10-27 |
| 朱聖黎 Zhu Sheng Li | 1 | 2 | 2022-04-11 |

### Utility: exceptions.py

| Name | Commits | Lines Changed | Last Commit |
| ---- | ------- | ------------- | ----------- |
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 32 | 2025-10-08 |

7 changes: 7 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
ancestor: null
releases:
1.3.2:
release_date: '2026-03-24'
changes:
release_summary: Bug fixes for compatibility with ansible-core 2.20
bugfixes:
- all - Replace inject vars with ansible_facts for 2.20 (https://github.com/sap-linuxlab/community.sap_launchpad/pull/59)

1.3.1:
release_date: '2025-11-11'
changes:
Expand Down
2 changes: 1 addition & 1 deletion docs/module_license_keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ Install prerequisites and create new SAP system using existing Python Virtual En
download_path: "/tmp/licenses"
register: result
environment:
PATH: "/tmp/python_venv:{{ ansible_env.PATH }}"
PATH: "/tmp/python_venv:{{ ansible_facts['env'].PATH }}"
PYTHONPATH: "/tmp/python_venv/lib/python3.11/site-packages"
VIRTUAL_ENV: "/tmp/python_venv"
vars:
Expand Down
4 changes: 2 additions & 2 deletions docs/module_maintenance_planner_files.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Obtain list of SAP Software files using existing Python Virtual Environment `/tm
transaction_name: "Transaction Name or Display ID from Maintenance Planner"
register: __module_results
environment:
PATH: "/tmp/python_venv:{{ ansible_env.PATH }}"
PATH: "/tmp/python_venv:{{ ansible_facts['env'].PATH }}"
PYTHONPATH: "/tmp/python_venv/lib/python3.11/site-packages"
VIRTUAL_ENV: "/tmp/python_venv"
vars:
Expand Down Expand Up @@ -138,7 +138,7 @@ Install prerequisites and obtain list of SAP Software files using existing Pytho
transaction_name: "Transaction Name or Display ID from Maintenance Planner"
register: __module_results
environment:
PATH: "/tmp/python_venv:{{ ansible_env.PATH }}"
PATH: "/tmp/python_venv:{{ ansible_facts['env'].PATH }}"
PYTHONPATH: "/tmp/python_venv/lib/python3.11/site-packages"
VIRTUAL_ENV: "/tmp/python_venv"
vars:
Expand Down
4 changes: 2 additions & 2 deletions docs/module_maintenance_planner_stack_xml_download.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Obtain Stack file using existing Python Virtual Environment `/tmp/venv`.
dest: "Enter download path (e.g. /software)"
register: __module_results
environment:
PATH: "/tmp/venv:{{ ansible_env.PATH }}"
PATH: "/tmp/venv:{{ ansiblansible_facts['env']e_env.PATH }}"
PYTHONPATH: "/tmp/venv/lib/python3.11/site-packages"
VIRTUAL_ENV: "/tmp/venv"
vars:
Expand Down Expand Up @@ -143,7 +143,7 @@ Install prerequisites and obtain Stack file using existing Python Virtual Enviro
dest: "Enter download path (e.g. /software)"
register: __module_results
environment:
PATH: "/tmp/venv:{{ ansible_env.PATH }}"
PATH: "/tmp/venv:{{ ansible_facts['env'].PATH }}"
PYTHONPATH: "/tmp/venv/lib/python3.11/site-packages"
VIRTUAL_ENV: "/tmp/venv"
vars:
Expand Down
4 changes: 2 additions & 2 deletions docs/module_software_center_download.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Download SAP Software file using Python Virtual Environment `/tmp/venv`
search_query: "Enter SAP Software file name"
dest: "Enter download path (e.g. /software)"
environment:
PATH: "/tmp/venv:{{ ansible_env.PATH }}"
PATH: "/tmp/venv:{{ ansible_facts['env'].PATH }}"
PYTHONPATH: "/tmp/venv/lib/python3.11/site-packages"
VIRTUAL_ENV: "/tmp/venv"
vars:
Expand Down Expand Up @@ -195,7 +195,7 @@ Install prerequisites and download SAP Software file using existing Python Virtu
search_query: "Enter SAP Software file name"
dest: "Enter download path (e.g. /software)"
environment:
PATH: "/tmp/python_venv:{{ ansible_env.PATH }}"
PATH: "/tmp/python_venv:{{ ansible_facts['env'].PATH }}"
PYTHONPATH: "/tmp/python_venv/lib/python3.11/site-packages"
VIRTUAL_ENV: "/tmp/python_venv"
vars:
Expand Down
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace: community
name: sap_launchpad

# The version of the collection. Must be compatible with semantic versioning
version: 1.3.1
version: 1.3.2

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
2 changes: 1 addition & 1 deletion roles/sap_software_download/tasks/download_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
label: "{{ item }} : {{ __sap_software_download_files_results_venv.msg | d('') }}"
register: __sap_software_download_files_results_venv
environment:
PATH: "{{ __sap_software_download_venv.path }}/bin:{{ ansible_env.PATH }}"
PATH: "{{ __sap_software_download_venv.path }}/bin:{{ ansible_facts['env'].PATH }}"
PYTHONPATH: "{{ __sap_software_download_venv.path }}/lib/{{ sap_software_download_python_interpreter }}/site-packages"
VIRTUAL_ENV: "{{ __sap_software_download_venv.path }}"
vars:
Expand Down
2 changes: 1 addition & 1 deletion roles/sap_software_download/tasks/download_plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
label: "{{ item.Filename }} : {{ __sap_software_download_files_plan_results_venv.msg | d('') }}"
register: __sap_software_download_files_plan_results_venv
environment:
PATH: "{{ __sap_software_download_venv.path }}/bin:{{ ansible_env.PATH }}"
PATH: "{{ __sap_software_download_venv.path }}/bin:{{ ansible_facts['env'].PATH }}"
PYTHONPATH: "{{ __sap_software_download_venv.path }}/lib/{{ sap_software_download_python_interpreter }}/site-packages"
VIRTUAL_ENV: "{{ __sap_software_download_venv.path }}"
vars:
Expand Down
2 changes: 1 addition & 1 deletion roles/sap_software_download/tasks/download_stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
dest: "{{ sap_software_download_directory }}"
register: __sap_software_download_stack_results_venv
environment:
PATH: "{{ __sap_software_download_venv.path }}/bin:{{ ansible_env.PATH }}"
PATH: "{{ __sap_software_download_venv.path }}/bin:{{ ansible_facts['env'].PATH }}"
PYTHONPATH: "{{ __sap_software_download_venv.path }}/lib/{{ sap_software_download_python_interpreter }}/site-packages"
VIRTUAL_ENV: "{{ __sap_software_download_venv.path }}"
vars:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
loop: "{{ __var_files }}"
vars:
__vars_file: "{{ role_path }}/vars/{{ item }}"
__distribution_major: "{{ ansible_distribution ~ '_' ~ ansible_distribution_major_version }}"
__distribution_minor: "{{ ansible_distribution ~ '_' ~ ansible_distribution_version }}"
__distribution_major: "{{ ansible_facts['distribution'] ~ '_' ~ ansible_facts['distribution_major_version'] }}"
__distribution_minor: "{{ ansible_facts['distribution'] ~ '_' ~ ansible_facts['distribution_version'] }}"
# Enables loading of shared vars between SLES and SLES_SAP
__distribution_major_split: "{{ ansible_distribution.split('_')[0] ~ '_' ~ ansible_distribution_major_version }}"
__distribution_minor_split: "{{ ansible_distribution.split('_')[0] ~ '_' ~ ansible_distribution_version }}"
__distribution_major_split: "{{ ansible_facts['distribution'].split('_')[0] ~ '_' ~ ansible_facts['distribution_major_version'] }}"
__distribution_minor_split: "{{ ansible_facts['distribution'].split('_')[0] ~ '_' ~ ansible_facts['distribution_version'] }}"
__var_files: >-
{{
[
ansible_os_family ~ '.yml',
(ansible_distribution ~ '.yml') if ansible_distribution != ansible_os_family else None,
ansible_facts['os_family'] ~ '.yml',
(ansible_facts['distribution'] ~ '.yml') if ansible_facts['distribution'] != ansible_facts['os_family'] else None,
(__distribution_major_split ~ '.yml') if __distribution_major_split != __distribution_major else None,
(__distribution_minor_split ~ '.yml') if __distribution_minor_split != __distribution_minor else None,
__distribution_major ~ '.yml',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
retries: 1
delay: 5
environment:
PATH: "{{ __sap_software_download_venv.path }}/bin:{{ ansible_env.PATH }}"
PATH: "{{ __sap_software_download_venv.path }}/bin:{{ ansible_facts['env'].PATH }}"
PYTHONPATH: "{{ __sap_software_download_venv.path }}/lib/{{ sap_software_download_python_interpreter }}/site-packages"
VIRTUAL_ENV: "{{ __sap_software_download_venv.path }}"
vars:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
register: __sap_software_download_mp_transaction_results_venv
retries: 1
environment:
PATH: "{{ __sap_software_download_venv.path }}/bin:{{ ansible_env.PATH }}"
PATH: "{{ __sap_software_download_venv.path }}/bin:{{ ansible_facts['env'].PATH }}"
PYTHONPATH: "{{ __sap_software_download_venv.path }}/lib/{{ sap_software_download_python_interpreter }}/site-packages"
VIRTUAL_ENV: "{{ __sap_software_download_venv.path }}"
vars:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
retries: 1
until: __sap_software_download_files_results_dryrun_venv is not failed
environment:
PATH: "{{ __sap_software_download_venv.path }}/bin:{{ ansible_env.PATH }}"
PATH: "{{ __sap_software_download_venv.path }}/bin:{{ ansible_facts['env'].PATH }}"
PYTHONPATH: "{{ __sap_software_download_venv.path }}/lib/{{ sap_software_download_python_interpreter }}/site-packages"
VIRTUAL_ENV: "{{ __sap_software_download_venv.path }}"
vars:
Expand Down
6 changes: 3 additions & 3 deletions roles/sap_software_download/vars/SLES_15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
# Set which Python version will be used on destination node.
# This is python executable name, which can differ from python package name.
__sap_software_download_python_interpreter: >-
{%- if ansible_distribution_version.split('.')[1] | int < 5 -%}
{%- if ansible_facts['distribution_version'].split('.')[1] | int < 5 -%}
python3
{%- else -%}
python3.11
{%- endif -%}

# Set which Python package will be installed on destination node.
__sap_software_download_python_package: >-
{%- if ansible_distribution_version.split('.')[1] | int < 5 -%}
{%- if ansible_facts['distribution_version'].split('.')[1] | int < 5 -%}
python3
{%- else -%}
python311
Expand All @@ -27,7 +27,7 @@ __sap_software_download_python_package: >-
# This is required in order to avoid externally-managed-environment error.
__sap_software_download_python_module_packages:
"{{ __sap_software_download_python_module_packages_3
if ansible_distribution_version.split('.')[1] | int < 5
if ansible_facts['distribution_version'].split('.')[1] | int < 5
else __sap_software_download_python_module_packages_311 }}"

# The lists of Python Modules for specific python version
Expand Down
Loading