Skip to content

Commit

Permalink
Release main-2.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: kksat <[email protected]>
  • Loading branch information
kksat committed Jul 16, 2024
1 parent 969e7f8 commit 5a757c6
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 35 deletions.
20 changes: 14 additions & 6 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ SAP Operations Collection Release Notes

.. contents:: Topics

v2.0.0
======

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

Lifecycle release

Major Changes
-------------

- clarify what RHEL for SAP versions are supported
- remove support for RHEL 7

v1.31.0
=======

Expand All @@ -17,12 +31,6 @@ Major Changes

- add 'commands' show_c and show_w as mandated by GPL-3.0 license

New Modules
-----------

- sap.sap_operations.show_c - Show copyright
- sap.sap_operations.show_w - Show warranty

v1.17.2
=======

Expand Down
44 changes: 31 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ If not, see <https://www.gnu.org/licenses/>.

# RECENT UPDATES

RHEL 7 is no longer supported as managed host.

Added link to collection documentation

<https://catalog.redhat.com/software/collection/sap/sap_operations>
Expand Down Expand Up @@ -97,7 +99,7 @@ ansible-core 2.16

ansible-core 2.17

### Python
## Python

Ansible collection is designed to work with following python versions on controller host

Expand All @@ -113,14 +115,6 @@ python 3.12

Ansible collection is designed to work with following python versions on managed host

python 2.7

python 3.5

python 3.6

python 3.7

python 3.8

python 3.9
Expand All @@ -131,10 +125,6 @@ python 3.11

python 3.12

With one exception NW RFC modules to not work on python 2.7. This is because SAP PyRFC does not support python 2.7 see <https://github.com/SAP/PyRFC>

If there is a requirement to use NW RFC modules on python 2.7, please use HTTP connection only - this does not required PyRFC and works with python 2.7.

Not all python and ansible version combination are expected to work. Please use python version supported by respective ansible version.

### Supported Ansible and Python version combinations
Expand All @@ -157,6 +147,34 @@ This collection is supported by Red Hat with limitations described in Ansible Au

## Release Notes and Roadmap

This collection follows Red Hat Ansible Automation Platform Lifecycle policy

<https://access.redhat.com/support/policy/updates/ansible-automation-platform>

This collection aims to provide support for more RHEL version that it is mentioned in AAP support policy.

This collection aims to provide support for RHEL for SAP versions that are currently supported, where it is possible and technically feasible.

See <https://access.redhat.com/support/policy/updates/errata> for RHEL for SAP support policy.

Extract from RHEL for SAP support policy:

For Red Hat Enterprise Linux for SAP Solutions on RHEL 8, Update Services for SAP Solutions is currently available for the following releases:

8.4 (ends May 31, 2025)

8.6 (ends May 31, 2026)

8.8 (ends May 31, 2027)

For Red Hat Enterprise Linux for SAP Solutions on RHEL 9, Update Services for SAP Solutions is currently available for the following releases:

9.0 (ends May 31, 2026)

9.2 (ends May 31, 2027)

9.4 (ends April 30, 2028)

## Related Information

## License Information
Expand Down
19 changes: 18 additions & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace: sap

name: sap_operations

version: 1.31.0
version: 2.0.0

readme: README.md

Expand Down Expand Up @@ -186,3 +186,20 @@ build_ignore:
- plugins/modules/swdc_auth_info.py
- roles/download/*
- roles/download

- roles/general_preconfigure
- roles/general_preconfigure/*

- roles/sapcar
- roles/sapcar/*

- plugins/filter/me_aliases.py

- roles/hana_preconfigure
- roles/hana_preconfigure/*

- plugins/modules/pcs_auth.py
- plugins/module_utils/monad.py

- roles/swpm
- roles/swpm/*
6 changes: 6 additions & 0 deletions roles/prepare/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ __prepare_packages_mapping:
- unzip
- python3-requests
- virt-who
"10":
- python3-lxml
- python3-urllib3
- unzip
- python3-requests
- virt-who

__prepare_packages: "{{ __prepare_packages_mapping[ansible_facts['distribution_major_version']] }}"

Expand Down
4 changes: 0 additions & 4 deletions roles/unpack/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,3 @@
loop: "{{ [unpack_source] | flatten }}"
loop_control:
loop_var: source

- name: Print output variable
ansible.builtin.debug:
msg: "{{ unpack_register | default([]) }}"
25 changes: 14 additions & 11 deletions roles/unpack/tasks/unpack-sar.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
# SPDX-License-Identifier: GPL-3.0-only
# SPDX-FileCopyrightText: 2023 Red Hat, Project Atmosphere
# SPDX-FileCopyrightText: 2023-2024 Red Hat, Project Atmosphere
#
# Copyright 2023 Red Hat, Project Atmosphere
# Copyright 2023-2024 Red Hat, Project Atmosphere
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU
# General Public License as published by the Free Software Foundation, version 3 of the License.
Expand Down Expand Up @@ -33,12 +33,15 @@

- name: Register output variable
ansible.builtin.set_fact:
unpack_register: |
'results': "{{ unpack_register.results | default([]) +
[{
'file': item.path,
'changed': unpack_sapcar_file.changed,
'failed': unpack_sapcar_file.rc > 0
}] }}"
'changed': "{{ ( unpack_sapcar_file.changed ) or ( unpack_register.changed | default(false) ) }}"
'failed': "{{ (unpack_sapcar_file.rc > 0) or ( unpack_register.failed | default(false) ) }}"
unpack_register:
changed: "{{ unpack_sapcar_file.changed or (unpack_register.changed | default(false)) }}"
failed: "{{ (unpack_sapcar_file.rc > 0) or (unpack_register.failed | default(false)) }}"
results: >-
{{ unpack_register.results | default([]) + [
{
'file': item.path,
'changed': unpack_sapcar_file.changed,
'failed': unpack_sapcar_file.rc > 0,
}
]
}}

0 comments on commit 5a757c6

Please sign in to comment.