diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 705fb1d..6c92a05 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -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 ======= @@ -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 ======= diff --git a/README.md b/README.md index e663cfa..34f97bb 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,8 @@ If not, see . # RECENT UPDATES +RHEL 7 is no longer supported as managed host. + Added link to collection documentation @@ -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 @@ -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 @@ -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 - -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 @@ -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 + + + +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 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 diff --git a/galaxy.yml b/galaxy.yml index eff6ba5..a1a05a6 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -24,7 +24,7 @@ namespace: sap name: sap_operations -version: 1.31.0 +version: 2.0.0 readme: README.md @@ -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/* diff --git a/roles/prepare/vars/main.yml b/roles/prepare/vars/main.yml index 96025f7..aec6531 100644 --- a/roles/prepare/vars/main.yml +++ b/roles/prepare/vars/main.yml @@ -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']] }}" diff --git a/roles/unpack/tasks/main.yml b/roles/unpack/tasks/main.yml index 659b1d7..40e8ee0 100644 --- a/roles/unpack/tasks/main.yml +++ b/roles/unpack/tasks/main.yml @@ -38,7 +38,3 @@ loop: "{{ [unpack_source] | flatten }}" loop_control: loop_var: source - -- name: Print output variable - ansible.builtin.debug: - msg: "{{ unpack_register | default([]) }}" diff --git a/roles/unpack/tasks/unpack-sar.yml b/roles/unpack/tasks/unpack-sar.yml index 0e5e7a3..ab5fc58 100644 --- a/roles/unpack/tasks/unpack-sar.yml +++ b/roles/unpack/tasks/unpack-sar.yml @@ -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. @@ -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, + } + ] + }}