Compare commits
No commits in common. "c8" and "c9-beta" have entirely different histories.
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
SOURCES/auto-maintenance-e2a233f5a0cb68363798bf014b16552cca681bd0.tar.gz
|
||||
SOURCES/redhat.sap_install-1.3.5.tar.gz
|
||||
SOURCES/auto-maintenance-e4e63cd408561b39e11d6285ab81f32a999719db.tar.gz
|
||||
SOURCES/redhat.sap_infrastructure-1.1.1.tar.gz
|
||||
SOURCES/redhat.sap_install-1.5.2.tar.gz
|
||||
|
@ -1,2 +1,3 @@
|
||||
584f8d1681adf13cb7af256a7b38d94ca80dcab2 SOURCES/auto-maintenance-e2a233f5a0cb68363798bf014b16552cca681bd0.tar.gz
|
||||
835376d0e4799989e9d4deb21ac7e1d335c941de SOURCES/redhat.sap_install-1.3.5.tar.gz
|
||||
aece2802ebb020c4edc166e22d1a0e0f8f819186 SOURCES/auto-maintenance-e4e63cd408561b39e11d6285ab81f32a999719db.tar.gz
|
||||
896121b34302f46cdfb9e89bf4364392d6e90dfe SOURCES/redhat.sap_infrastructure-1.1.1.tar.gz
|
||||
327984bae9d2a8b37dbd684b9b3f20067a6186f3 SOURCES/redhat.sap_install-1.5.2.tar.gz
|
||||
|
File diff suppressed because it is too large
Load Diff
71
SOURCES/redhat.sap_install-1.5.2-check_mode.patch
Normal file
71
SOURCES/redhat.sap_install-1.5.2-check_mode.patch
Normal file
@ -0,0 +1,71 @@
|
||||
diff -up redhat.sap_install-1.5.2/roles/sap_general_preconfigure/tasks/RedHat/generic/configure-kernel-parameters.yml.me redhat.sap_install-1.5.2/roles/sap_general_preconfigure/tasks/RedHat/generic/configure-kernel-parameters.yml
|
||||
--- redhat.sap_install-1.5.2/roles/sap_general_preconfigure/tasks/RedHat/generic/configure-kernel-parameters.yml.me 2025-01-31 11:52:17.015807194 +0100
|
||||
+++ redhat.sap_install-1.5.2/roles/sap_general_preconfigure/tasks/RedHat/generic/configure-kernel-parameters.yml 2025-01-31 11:53:10.121913231 +0100
|
||||
@@ -19,6 +19,7 @@
|
||||
- name: Construct the command for getting all current parameters of file '{{ sap_general_preconfigure_etc_sysctl_sap_conf }}'
|
||||
ansible.builtin.command: awk 'BEGIN{FS="="; printf ("sysctl ")}{printf ("%s ", $1)}' "{{ sap_general_preconfigure_etc_sysctl_sap_conf }}"
|
||||
register: __sap_general_preconfigure_register_sap_conf_sysctl_command
|
||||
+ check_mode: false
|
||||
changed_when: false
|
||||
|
||||
# Reason for noqa: The command module tries to run the complete string as a single command
|
||||
diff -up redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/RedHat/generic/configure-thp.yml.me redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/RedHat/generic/configure-thp.yml
|
||||
--- redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/RedHat/generic/configure-thp.yml.me 2025-02-04 10:24:11.654505302 +0100
|
||||
+++ redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/RedHat/generic/configure-thp.yml 2025-02-04 10:24:48.064360920 +0100
|
||||
@@ -43,7 +43,9 @@
|
||||
- name: Set THP to '{{ __sap_hana_preconfigure_fact_thp }}' on the running system
|
||||
ansible.builtin.shell: echo '{{ __sap_hana_preconfigure_fact_thp }}' > /sys/kernel/mm/transparent_hugepage/enabled
|
||||
changed_when: true
|
||||
- when: __sap_hana_preconfigure_register_thp_status_before.stdout.split('[')[1].split(']')[0] != __sap_hana_preconfigure_fact_thp
|
||||
+ when:
|
||||
+ - not ansible_check_mode
|
||||
+ - __sap_hana_preconfigure_register_thp_status_before.stdout.split('[')[1].split(']')[0] != __sap_hana_preconfigure_fact_thp
|
||||
|
||||
- name: Configure - Get the status of THP
|
||||
ansible.builtin.command: cat /sys/kernel/mm/transparent_hugepage/enabled
|
||||
diff -up redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/sapnote/2382421.yml.me redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/sapnote/2382421.yml
|
||||
--- redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/sapnote/2382421.yml.me 2025-02-04 10:24:25.595832908 +0100
|
||||
+++ redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/sapnote/2382421.yml 2025-02-04 10:24:48.064360920 +0100
|
||||
@@ -72,6 +72,7 @@
|
||||
- name: Construct the command for getting all current parameters of file '{{ __sap_hana_preconfigure_etc_sysctl_saphana_conf }}'
|
||||
ansible.builtin.command: awk 'BEGIN{FS="="; printf ("sysctl ")}{printf ("%s ", $1)}' "{{ __sap_hana_preconfigure_etc_sysctl_saphana_conf }}"
|
||||
register: __sap_hana_preconfigure_register_saphana_conf_sysctl_command
|
||||
+ check_mode: false
|
||||
changed_when: false
|
||||
|
||||
- name: Get all currently active values of the parameters of file '{{ __sap_hana_preconfigure_etc_sysctl_saphana_conf }}'
|
||||
diff -up redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/sapnote/2055470.yml.me redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/sapnote/2055470.yml
|
||||
--- redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/sapnote/2055470.yml.me 2025-02-05 09:51:04.058022376 +0100
|
||||
+++ redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/sapnote/2055470.yml 2025-02-05 09:53:15.784038257 +0100
|
||||
@@ -64,16 +64,19 @@
|
||||
# Note: The sole purpose of the following two tasks is to collect the current value(s) of the kernel parameters
|
||||
# in '/etc/sysctl.d/ibm_largesend.conf' so that the "Reload kernel parameters from file ..." task
|
||||
# can correctly report its 'changed' state. See also https://github.com/sap-linuxlab/community.sap_install/issues/752 .
|
||||
+
|
||||
- name: Construct the command for getting all current parameters of file '/etc/sysctl.d/ibm_largesend.conf'
|
||||
ansible.builtin.command: awk 'BEGIN{FS="="; printf ("sysctl ")}{printf ("%s ", $1)}' /etc/sysctl.d/ibm_largesend.conf
|
||||
register: __sap_hana_preconfigure_register_ibm_largesend_sysctl_command
|
||||
changed_when: false
|
||||
+ when: not ansible_check_mode
|
||||
|
||||
# Reason for noqa: The command module tries to run the complete string as a single command
|
||||
- name: Get all currently active values of the parameters of file '/etc/sysctl.d/ibm_largesend.conf' # noqa command-instead-of-shell
|
||||
ansible.builtin.shell: "{{ __sap_hana_preconfigure_register_ibm_largesend_sysctl_command.stdout }}"
|
||||
register: __sap_hana_preconfigure_register_ibm_largesend_sysctl_p_output_old
|
||||
changed_when: false
|
||||
+ when: not ansible_check_mode
|
||||
|
||||
- name: Reload kernel parameters from file '/etc/sysctl.d/ibm_largesend.conf'
|
||||
ansible.builtin.command: sysctl -p /etc/sysctl.d/ibm_largesend.conf
|
||||
diff -up redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/vars/RedHat_10.yml.me redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/vars/RedHat_10.yml
|
||||
--- redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/vars/RedHat_10.yml.me 2025-02-05 11:35:35.090169430 +0100
|
||||
+++ redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/vars/RedHat_10.yml 2025-02-05 11:35:42.364338354 +0100
|
||||
@@ -99,7 +99,7 @@ __sap_hana_preconfigure_packages_min_ins
|
||||
__sap_hana_preconfigure_ibm_power_repo_url: 'https://public.dhe.ibm.com/software/server/POWER/Linux/yum/download/ibm-power-repo-latest.noarch.rpm'
|
||||
|
||||
__sap_hana_preconfigure_required_ppc64le:
|
||||
- - ibm-power-managed-rhel9
|
||||
+ - ibm-power-managed-rhel10
|
||||
|
||||
# Network related kernel parameters as set in SAP Note 2382421:
|
||||
__sap_hana_preconfigure_kernel_parameters_default:
|
@ -1,18 +1,12 @@
|
||||
# disable collection_artifact by default
|
||||
%bcond_with collection_artifact
|
||||
|
||||
# disable collection by default since version 3.6.0 (1.3.4)
|
||||
# disable collection by default since version 3.6.0 (1.3.5)
|
||||
%bcond_with collection
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} > 8
|
||||
%bcond_without html
|
||||
%else
|
||||
# pandoc is not supported in rhel 7 and older,
|
||||
# which is needed for converting .md to .html.
|
||||
%bcond_with html
|
||||
%endif
|
||||
%global collection_name_sap_install sap_install
|
||||
%global collection_name_sap_infrastructure sap_infrastructure
|
||||
|
||||
%global collection_name sap_install
|
||||
%if 0%{?rhel}
|
||||
%define package_name rhel-system-roles-sap
|
||||
%global collection_namespace redhat
|
||||
@ -24,10 +18,14 @@
|
||||
# collection_version has to be increased by every rebuild
|
||||
# otherwise, it cannot be uploaded to Automation Hub and Galaxy
|
||||
# due to version conflict
|
||||
%define collection_version 1.3.5
|
||||
%define collection_sap_install_version 1.5.2
|
||||
%define collection_sap_infrastructure_version 1.1.1
|
||||
|
||||
%global mainid e2a233f5a0cb68363798bf014b16552cca681bd0
|
||||
%global commit_id_sap_install %{collection_version}
|
||||
%global collection_dir_sap_install collections/ansible_collections/%{collection_namespace}/%{collection_name_sap_install}
|
||||
%global collection_dir_sap_infrastructure collections/ansible_collections/%{collection_namespace}/%{collection_name_sap_infrastructure}
|
||||
%global mainid e4e63cd408561b39e11d6285ab81f32a999719db
|
||||
%global commit_id_sap_install %{collection_sap_install_version}
|
||||
%global commit_id_sap_infrastructure %{collection_sap_infrastructure_version}
|
||||
%global rolename1 sap_general_preconfigure
|
||||
%global rolename2 sap_ha_install_hana_hsr
|
||||
%global rolename3 sap_hana_install
|
||||
@ -37,43 +35,38 @@
|
||||
%global rolename7 sap_netweaver_preconfigure
|
||||
%global rolename8 sap_swpm
|
||||
%global rolename9 sap_vm_preconfigure
|
||||
%global rolename10 sap_maintain_etc_hosts
|
||||
%global src_owner linux-system-roles
|
||||
%global github_repo_sap_install redhat.sap_install
|
||||
%global rolename_rhel %{rolename1} %{rolename2} %{rolename3} %{rolename4} %{rolename5} %{rolename6} %{rolename7} %{rolename8} %{rolename9}
|
||||
%global github_repo_sap_infrastructure redhat.sap_infrastructure
|
||||
%global rolename_sap_install %{rolename1} %{rolename2} %{rolename3} %{rolename4} %{rolename5} %{rolename7} %{rolename8} %{rolename10}
|
||||
%global rolename_sap_infrastructure %{rolename6} %{rolename9}
|
||||
%global rolenames %{rolename_rhel}
|
||||
|
||||
Name: %{package_name}
|
||||
Summary: System Roles to configure RHEL for running SAP NetWeaver- or SAP HANA-based products
|
||||
Version: 3.6.0
|
||||
Release: 2%{?dist}
|
||||
Version: 3.8.5
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
Url: https://github.com/redhat-sap/community.sap_install
|
||||
Source0: https://github.com/linux-system-roles/auto-maintenance/archive/%{mainid}/auto-maintenance-%{mainid}.tar.gz
|
||||
Source1: https://github.com/redhat-sap/redhat.sap_install/archive/%{commit_id_sap_install}/%{github_repo_sap_install}-%{commit_id_sap_install}.tar.gz
|
||||
|
||||
# add collection files
|
||||
Patch1: redhat.sap_install-1.3.5-collections-files-324bfb8bab50d2baa1c4aacdb59e4e5c9e2ba74f.patch
|
||||
Source2: https://github.com/redhat-sap/redhat.sap_infrastructure/archive/%{commit_id_sap_infrastructure}/%{github_repo_sap_infrastructure}-%{commit_id_sap_infrastructure}.tar.gz
|
||||
|
||||
# add tests files
|
||||
Patch2: redhat.sap_install-1.3.4-add_tests.patch
|
||||
Patch1: redhat.sap_install-1.3.4-add_tests.patch
|
||||
|
||||
# add tools files
|
||||
Patch3: redhat.sap_install-1.3.4-add_tools.patch
|
||||
Patch2: redhat.sap_install-1.3.4-add_tools.patch
|
||||
|
||||
# Fix check mode for sysctl
|
||||
Patch3: redhat.sap_install-1.5.2-check_mode.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: rhel-system-roles
|
||||
|
||||
%if %{with html}
|
||||
# Requirements for md2html.sh to build the documentation
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 9
|
||||
BuildRequires: rubygem-kramdown-parser-gfm
|
||||
%else
|
||||
BuildRequires: pandoc
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: highlight
|
||||
%endif
|
||||
%endif
|
||||
BuildRequires: tar
|
||||
|
||||
# Requirements for galaxy_transform.py
|
||||
BuildRequires: python3
|
||||
@ -95,17 +88,16 @@ Requires: python-netaddr
|
||||
BuildRequires: ansible-core >= 2.11.0
|
||||
Requires: (ansible-core >= 2.11.0 or ansible >= 2.9.0)
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %{undefined __ansible_provides}
|
||||
Provides: ansible-collection(%{collection_namespace}.%{collection_name}) = %{version}
|
||||
%endif
|
||||
# be compatible with the usual Fedora Provides:
|
||||
Provides: ansible-collection-%{collection_namespace}-%{collection_name} = %{version}-%{release}
|
||||
%endif
|
||||
|
||||
# ansible-galaxy is available by ansible-core on RHEL 8.6 and newer at buildtime.
|
||||
%define ansible_collection_build() ansible-galaxy collection build
|
||||
%define ansible_collection_install() ansible-galaxy collection install -n -p %{buildroot}%{_datadir}/ansible/collections %{collection_namespace}-%{collection_name}-%{collection_version}.tar.gz
|
||||
%define ansible_collection_install() ansible-galaxy collection install -n -p %{buildroot}%{_datadir}/ansible/collections %{collection_namespace}-%{collection_name}-%{collection_sap_install_version}.tar.gz
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||
%{!?ansible_collection_files:%define ansible_collection_files %{_datadir}/ansible/collections/ansible_collections/%{collection_namespace}/}
|
||||
@ -124,20 +116,33 @@ to applicable SAP notes so that any SAP software can be installed.
|
||||
Summary: Collection artifact to import to Automation Hub / Ansible Galaxy
|
||||
|
||||
%description collection-artifact
|
||||
Collection artifact for %{name}. This package contains %{collection_namespace}-%{collection_name}-%{collection_version}.tar.gz
|
||||
Collection artifact for %{name}. This package contains:
|
||||
* %{collection_namespace}-%{collection_name}-%{collection_sap_install_version}.tar.gz
|
||||
* %{collection_namespace}-%{collection_name_sap_infrastructure}-%{collection_sap_infrastructure_version}.tar.gz
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -a1 -n auto-maintenance-%{mainid}
|
||||
%setup -q -a1 -a2 -n auto-maintenance-%{mainid}
|
||||
|
||||
pushd %{github_repo_sap_install}-%{commit_id_sap_install}/
|
||||
%patch -P1 -p1
|
||||
%patch -P2 -p1
|
||||
%patch -P3 -p1
|
||||
# workaround for md2html error
|
||||
sed -i -e "s|for POWER ||g" roles/sap_hana_preconfigure/README.md
|
||||
popd
|
||||
|
||||
# unpack collection tar file
|
||||
%if %{without collection}
|
||||
mkdir -p %{collection_dir_sap_install} %{collection_dir_sap_infrastructure}
|
||||
# sap_install collection
|
||||
tar zxf %{github_repo_sap_install}-%{commit_id_sap_install}/%{collection_namespace}-%{collection_name_sap_install}-%{collection_sap_install_version}.tar.gz -C %{collection_dir_sap_install}
|
||||
# sap_install collection, Fix check mode
|
||||
pushd %{collection_dir_sap_install}/
|
||||
%patch -P3 -p1
|
||||
popd
|
||||
# sap_infrastructure collection
|
||||
tar zxf %{github_repo_sap_infrastructure}-%{commit_id_sap_infrastructure}/%{collection_namespace}-%{collection_name_sap_infrastructure}-%{commit_id_sap_infrastructure}.tar.gz -C %{collection_dir_sap_infrastructure}
|
||||
%endif
|
||||
|
||||
# remove zero file and symlinks
|
||||
find . -type f -size 0 -delete
|
||||
find . -type l -delete
|
||||
@ -150,19 +155,11 @@ find -type f \( -iname "*.sh" \) -exec sed -i '1s=^#! */bin/bash=#!/usr/bin/bash
|
||||
rm -f FILES.json MANIFEST.json
|
||||
|
||||
%build
|
||||
%if %{with html}
|
||||
readmes=""
|
||||
for role in %{rolenames}; do
|
||||
readmes="${readmes} %{github_repo_sap_install}-%{commit_id_sap_install}/roles/$role/README.md"
|
||||
done
|
||||
sh md2html.sh $readmes %{github_repo_sap_install}-%{commit_id_sap_install}/README.md
|
||||
%endif
|
||||
|
||||
%if %{with collection}
|
||||
# create dest-path
|
||||
mkdir .collections
|
||||
|
||||
for role in %{rolenames} ; do
|
||||
for role in %{rolename_sap_install} ; do
|
||||
LANG=en_US.utf-8 LC_ALL=en_US.utf-8 python3 lsr_role2collection.py --role "$role" \
|
||||
--src-path %{github_repo_sap_install}-%{commit_id_sap_install}/roles/"$role" \
|
||||
--src-owner %{src_owner} \
|
||||
@ -172,7 +169,9 @@ LANG=en_US.utf-8 LC_ALL=en_US.utf-8 python3 lsr_role2collection.py --role "$role
|
||||
--new-role "$new_role"
|
||||
done
|
||||
|
||||
# update galaxy.yml
|
||||
cp -p galaxy.yml .collections/ansible_collections/%{collection_namespace}/%{collection_name}
|
||||
|
||||
# update README.md
|
||||
cp %{github_repo_sap_install}-%{commit_id_sap_install}/README.md .collections/ansible_collections/%{collection_namespace}/%{collection_name}
|
||||
|
||||
@ -180,7 +179,6 @@ cp %{github_repo_sap_install}-%{commit_id_sap_install}/README.md .collections/an
|
||||
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
|
||||
%ansible_collection_build
|
||||
popd
|
||||
|
||||
%endif
|
||||
|
||||
%install
|
||||
@ -191,22 +189,26 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/ansible/roles \
|
||||
echo "%dir %{_pkgdocdir}" > files_section.txt
|
||||
cp %{github_repo_sap_install}-%{commit_id_sap_install}/README.md $RPM_BUILD_ROOT%{_pkgdocdir}/
|
||||
|
||||
%if %{with html}
|
||||
cp %{github_repo_sap_install}-%{commit_id_sap_install}/README.html $RPM_BUILD_ROOT%{_pkgdocdir}/
|
||||
%endif
|
||||
echo "%{_pkgdocdir}/README.*" >> files_section.txt
|
||||
|
||||
for role in %{rolenames} ; do
|
||||
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/$role
|
||||
cp -pR %{github_repo_sap_install}-%{commit_id_sap_install}/roles/$role $RPM_BUILD_ROOT%{_datadir}/ansible/roles/
|
||||
install -m 644 %{github_repo_sap_install}-%{commit_id_sap_install}/LICENSE \
|
||||
%{github_repo_sap_install}-%{commit_id_sap_install}/roles/$role/README.md \
|
||||
$RPM_BUILD_ROOT%{_pkgdocdir}/$role/
|
||||
%if %{with html}
|
||||
install -m 644 %{github_repo_sap_install}-%{commit_id_sap_install}/roles/$role/README.html \
|
||||
# install sap_install roles
|
||||
for role in %{rolename_sap_install} ; do
|
||||
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/$role
|
||||
cp -pR %{github_repo_sap_install}-%{commit_id_sap_install}/roles/$role $RPM_BUILD_ROOT%{_datadir}/ansible/roles/
|
||||
install -m 644 %{github_repo_sap_install}-%{commit_id_sap_install}/LICENSE \
|
||||
%{github_repo_sap_install}-%{commit_id_sap_install}/roles/$role/README.md \
|
||||
$RPM_BUILD_ROOT%{_pkgdocdir}/$role/
|
||||
%endif
|
||||
echo "%dir %{_pkgdocdir}/$role" >> files_section.txt
|
||||
echo "%dir %{_pkgdocdir}/$role" >> files_section.txt
|
||||
done
|
||||
|
||||
# install sap_infrastructure roles
|
||||
for role in %{rolename_sap_infrastructure} ; do
|
||||
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/$role
|
||||
cp -pR %{github_repo_sap_infrastructure}-%{commit_id_sap_infrastructure}/roles/$role $RPM_BUILD_ROOT%{_datadir}/ansible/roles/
|
||||
install -m 644 %{github_repo_sap_infrastructure}-%{commit_id_sap_infrastructure}/LICENSE \
|
||||
%{github_repo_sap_infrastructure}-%{commit_id_sap_infrastructure}/roles/$role/README.md \
|
||||
$RPM_BUILD_ROOT%{_pkgdocdir}/$role/
|
||||
echo "%dir %{_pkgdocdir}/$role" >> files_section.txt
|
||||
done
|
||||
|
||||
# install collection files
|
||||
@ -215,14 +217,14 @@ pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name
|
||||
%ansible_collection_install
|
||||
popd
|
||||
%else
|
||||
cp -pR %{github_repo_sap_install}-%{commit_id_sap_install}/collections $RPM_BUILD_ROOT%{_datadir}/ansible/
|
||||
cp -pR collections $RPM_BUILD_ROOT%{_datadir}/ansible/
|
||||
%endif
|
||||
|
||||
# install collection_artifact
|
||||
%if %{with collection_artifact}
|
||||
# Copy collection artifact to /usr/share/ansible/collections/ for collection-artifact
|
||||
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
|
||||
mv %{collection_namespace}-%{collection_name}-%{collection_version}.tar.gz $RPM_BUILD_ROOT%{_datadir}/ansible/collections/
|
||||
mv %{collection_namespace}-%{collection_name}-%{collection_sap_install_version}.tar.gz $RPM_BUILD_ROOT%{_datadir}/ansible/collections/
|
||||
popd
|
||||
%endif
|
||||
|
||||
@ -232,10 +234,6 @@ popd
|
||||
%doc %{_pkgdocdir}/*/README.md
|
||||
%license %{_pkgdocdir}/*/LICENSE
|
||||
%{_datadir}/ansible/roles/*
|
||||
|
||||
%if %{with html}
|
||||
%{_pkgdocdir}/*/README.html
|
||||
%endif
|
||||
%if %{with collection}
|
||||
%{ansible_collection_files}
|
||||
%else
|
||||
@ -243,106 +241,173 @@ popd
|
||||
%endif
|
||||
%if %{with collection_artifact}
|
||||
%files collection-artifact
|
||||
%{_datadir}/ansible/collections/%{collection_namespace}-%{collection_name}-%{collection_version}.tar.gz
|
||||
%{_datadir}/ansible/collections/%{collection_namespace}-%{collection_name}-%{collection_sap_install_version}.tar.gz
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Feb 05 2024 Than Ngo <than@redhat.com> - 3.6.0-2
|
||||
* Wed Feb 05 2025 Than Ngo <than@redhat.com> - 3.8.5-1
|
||||
- Fix check mode for largesend.conf on ppc64le
|
||||
- Fix the package name of the RHEL 10 Power tools
|
||||
Related: RHEL-74075
|
||||
|
||||
* Tue Feb 04 2025 Than Ngo <than@redhat.com> - 3.8.4-1
|
||||
- Related: RHEL-74075, Fix checkmode in sap_hana_preconfigure
|
||||
|
||||
* Fri Jan 31 2025 Than Ngo <than@redhat.com> - 3.8.3-1
|
||||
- Related: RHEL-74075, Fix checkmode for sysctl
|
||||
|
||||
* Tue Jan 28 2025 Than Ngo <than@redhat.com> - 3.8.2-1
|
||||
- Related: RHEL-74075, use redhat.sap_install for *_sap_install_collection
|
||||
|
||||
* Tue Jan 28 2025 Than Ngo <than@redhat.com> - 3.8.1-1
|
||||
- Related: RHEL-74075, update redhat.sap_install to 1.5.2
|
||||
|
||||
* Mon Jan 20 2025 Than Ngo <than@redhat.com> - 3.8.0-1
|
||||
- Resolves: RHEL-74075, new collcection redhat.sap_install and redhat.sap_infrastructure
|
||||
|
||||
* Tue May 14 2024 Than Ngo <than@redhat.com> - 3.7.0-1
|
||||
- Resolves: RHEL-34806, rebase sap roles to version 1.3.7
|
||||
|
||||
* Mon Feb 05 2024 Than Ngo <than@redhat.com> - 3.6.0-4
|
||||
- sap_hypervisor_node_preconfigure: fix for role name and path for included tasks
|
||||
- update collection files
|
||||
Related: RHEL-16897
|
||||
Related: RHEL-16895
|
||||
|
||||
* Thu Jan 25 2024 Than Ngo <than@redhat.com> - 3.6.0-1
|
||||
* Thu Jan 25 2024 Than Ngo <than@redhat.com> - 3.6.0-3
|
||||
- fix typo
|
||||
Related: RHEL-16895
|
||||
|
||||
* Thu Jan 25 2024 Than Ngo <than@redhat.com> - 3.6.0-2
|
||||
- add tests and tools
|
||||
- fix bash and python shebangs
|
||||
Related: RHEL-16895
|
||||
|
||||
* Mon Jan 22 2024 Than Ngo <than@redhat.com> - 3.6.0-1
|
||||
- rebase sap roles to version 1.3.4
|
||||
- add collection files
|
||||
- update README files and add missing galaxy.yml, LICENSE
|
||||
- fix syntax error for defining dependent collections in galaxy.yml
|
||||
- add tools and tests
|
||||
Resolves: RHEL-16897
|
||||
Resolves: RHEL-16895
|
||||
|
||||
* Mon May 08 2023 Than Ngo <than@redhat.com> - 3.5.0-1
|
||||
- updated README.md files for sap and sap_swpm roles
|
||||
- migrated to SPDX license
|
||||
- converted patch macro use to the most compatible syntax
|
||||
- rebased sap roles to version 1.2.3
|
||||
Resolves: #2185037
|
||||
* Thu May 04 2023 Than Ngo <than@redhat.com> - 3.5.0-2
|
||||
- Related: #2185038, update README.md files
|
||||
|
||||
* Tue May 02 2023 Than Ngo <than@redhat.com> - 3.5.0-1
|
||||
- update README, drop requirements-sap_swpm.yml
|
||||
- migrate to SPDC license
|
||||
- convert patch macro use to the most compatible syntax
|
||||
- rebase sap roles to version 1.2.3
|
||||
Resolves: #2185038
|
||||
|
||||
* Mon Jan 30 2023 Than Ngo <than@redhat.com> - 3.4.0-3
|
||||
- Related: #2155876, rebase sap roles to version 1.2.1
|
||||
- Related: #2155870, rebase sap roles to version 1.2.1
|
||||
|
||||
* Thu Jan 19 2023 Than Ngo <than@redhat.com> - 3.4.0-2
|
||||
- Related: #2155876, compat-sap-c++-10 is not available for RHEL 8.2 and earlier on hardware platform s390x
|
||||
- compat-sap-c++-10 is not available for RHEL 8.2 and earlier on hardware platform s390x
|
||||
Related: #2155870
|
||||
|
||||
* Wed Jan 11 2023 Than Ngo <than@redhat.com> - 3.4.0-1
|
||||
- Resolves: #2155876, rebase sap roles to version 1.2.0
|
||||
* Tue Jan 10 2023 Than Ngo <than@redhat.com> - 3.4.0-1
|
||||
- Resolves: #2155870, rebase to 1.2.0 upstream version
|
||||
|
||||
* Tue Nov 22 2022 Than Ngo <than@redhat.com> - 3.3.0-4
|
||||
- Resolves: #2142957, drop deprecated paramater for Ansible 2.14
|
||||
* Mon Nov 28 2022 Than Ngo <than@redhat.com> - 3.3.0-5
|
||||
- Related: #2143280, add missing repo vars for rhel-9.x
|
||||
|
||||
* Fri Jul 15 2022 Than Ngo <than@redhat.com> - 3.3.0-3
|
||||
- update galaxy.yml and README.md and url
|
||||
Related: #2103633
|
||||
* Fri Nov 25 2022 Than Ngo <than@redhat.com> - 3.3.0-4
|
||||
- Resolves: #2143280, drop deprecated paramater for Ansible 2.14
|
||||
|
||||
* Thu Jul 14 2022 Than Ngo <than@redhat.com> - 3.3.0-3
|
||||
- more fixes, update README.md
|
||||
Related: #2101373
|
||||
|
||||
* Tue Jul 12 2022 Than Ngo <than@redhat.com> - 3.3.0-2
|
||||
- make the role Ansible 2.13 compliant
|
||||
- get rid of all the new ansible-lint 6.3.0 errors for preconfigure and sap_hana_install roles
|
||||
Resolves: #2103633
|
||||
Resolves: #2101373
|
||||
|
||||
* Mon Jul 04 2022 Than Ngo <than@redhat.com> - 3.3.0-1
|
||||
- Resolves: #2103633, include roles for setting up a two-node SAP HANA pacemaker cluster
|
||||
- Resolves: #2101373, include roles for setting up a two-node SAP HANA pacemaker cluster
|
||||
|
||||
* Thu Jun 09 2022 Than Ngo <than@redhat.com> - 3.2.0-3
|
||||
- sap_hana_preconfigure: Add vars for RHEL 9.1 managed nodes
|
||||
- sap_general_preconfigure: fix variable inclusion for RHEL minor releases
|
||||
Related: #2063050
|
||||
* Wed Jun 08 2022 Than Ngo <than@redhat.com> - 3.2.0-5
|
||||
- increase release
|
||||
Related: #2065407
|
||||
|
||||
* Wed Jun 08 2022 Than Ngo <than@redhat.com> - 3.2.0-2
|
||||
- sap_general_preconfigure: do not attempt to enable HANA repos for s390x
|
||||
* Wed Jun 08 2022 Than Ngo <than@redhat.com> - 3.2.0-4
|
||||
- sap_hana_preconfigure: using wrong variable name
|
||||
- sap_hana_preconfigure: Fix issue sap-linuxlab#154
|
||||
Related: #2063050
|
||||
- do not attempt to enable HANA repos for s390x
|
||||
- sap_general_preconfigure: fix variable inclusion for RHEL minor releases
|
||||
- sap_hana_preconfigure: Add vars for RHEL 9.1 managed nodes
|
||||
- sap_hana_preconfigure: Fix issue #154
|
||||
Related: #2065407
|
||||
|
||||
* Mon Mar 21 2022 Than Ngo <than@redhat.com> - 3.2.0-1
|
||||
- Resolves: #2063050, rebase to new upstream org sap-linuxlab
|
||||
* Sun Mar 13 2022 Than Ngo <than@redhat.com> - 3.2.0-3
|
||||
- Resolves: #2065407, new rebase
|
||||
|
||||
* Fri Dec 03 2021 Than Ngo <than@redhat.com> - 3.1.1-10
|
||||
- Related: #2016858, increase release to avoid update conflict
|
||||
* Tue Feb 22 2022 Than Ngo <than@redhat.com> - 3.2.0-2
|
||||
- Related: #2047282, new rebase, fixed collection basename
|
||||
|
||||
* Fri Dec 03 2021 Than Ngo <than@redhat.com> - 3.1.1-8
|
||||
- Related: #2016858, rebase
|
||||
* Mon Jan 31 2022 Than Ngo <than@redhat.com> - 3.2.0-1
|
||||
- Resolves: #2047282, Rebase to new upstream org sap-linuxlab
|
||||
|
||||
* Tue Nov 16 2021 Than Ngo <than@redhat.com> - 3.1.1-7
|
||||
- Resolves: #2016858, ansible-lint cleanup
|
||||
* Fri Dec 03 2021 Than Ngo <than@redhat.com> - 3.1.1-15
|
||||
- Related: #2021579, ansible-lint cleanup
|
||||
|
||||
* Wed Sep 08 2021 Than Ngo <than@redhat.com> - 3.1.1-6
|
||||
- set min kernel version for RHEL 8.4 x86_64
|
||||
* Tue Nov 16 2021 Than Ngo <than@redhat.com> - 3.1.1-14
|
||||
- Resolves: #2021579, ansible-lint cleanup
|
||||
|
||||
* Fri Oct 15 2021 Than Ngo <than@redhat.com> - 3.1.1-13
|
||||
- Fix the version of the collection tar file
|
||||
|
||||
* Fri Oct 15 2021 Than Ngo <than@redhat.com> - 3.1.1-12
|
||||
- Resolves: #2003630, Pepare the roles for ansible-core 2.11: Only use ansible.core modules
|
||||
|
||||
* Wed Sep 01 2021 Than Ngo <than@redhat.com> - 3.1.1-11
|
||||
- fix yum group install errors on RHEL 7
|
||||
- use grubby for setting tsx=on
|
||||
- add tsx=on to the kernel command line unconditionally
|
||||
- set min kernel version for RHEL 8.4 x86_64
|
||||
|
||||
* Wed Sep 01 2021 Than Ngo <than@redhat.com> - 3.1.1-5
|
||||
- Related: #1928398, fix yum group install errors on RHEL 7
|
||||
* Fri Aug 20 2021 Than Ngo <than@redhat.com> - 3.1.1-10
|
||||
- Related: #1977195, fix #149, #177, #193, #194
|
||||
|
||||
* Fri Aug 20 2021 Than Ngo <than@redhat.com> - 3.1.1-4
|
||||
- Related: #1928398, fix #149, #177, #193, #194
|
||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.1.1-9
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Mon Jul 12 2021 Than Ngo <than@redhat.com> - 3.1.1-3
|
||||
- add missing __sap_preconfigure_envgroups for RHEL 7.x
|
||||
- add __sap_hana_preconfigure_req_repos variables for RHEL 8.5 and later
|
||||
Related: #1928398
|
||||
* Fri Jul 16 2021 Than Ngo <than@redhat.com> - 3.1.1-8
|
||||
- Related: #1977195, add missing vars/RedHat_9.yml in sap-netweaver-preconfigure
|
||||
|
||||
* Thu Jul 01 2021 Than Ngo <than@redhat.com> - 3.1.1-2
|
||||
- Related: #1928398, add missing changelogs
|
||||
* Tue Jul 13 2021 Than Ngo <than@redhat.com> - 3.1.1-7
|
||||
- Related: #1977195, add missing __sap_preconfigure_envgroups for RHEL 7.x and
|
||||
missing __sap_hana_preconfigure_req_repos variables for RHEL 8.5 and later
|
||||
|
||||
* Tue Jun 29 2021 Than Ngo <than@redhat.com> - 3.1.1-1
|
||||
- Resolves: #1928398, rebase to 3.1.1 for Ansible Collections
|
||||
* Tue Jun 29 2021 Than Ngo <than@redhat.com> - 3.1.1-6
|
||||
- Resolves: #1977195, make RHEL system roles for SAP RHEL9 compatible
|
||||
|
||||
* Fri Mar 05 2021 Than Ngo <than@redhat.com> - 3.0.1-4
|
||||
- fixed issue #130 in sap-preconfigure
|
||||
- fixed typos in README.md in sap_hana_preconfigure
|
||||
- added detailed explanations for sap_hana_preconfigure_kernel_parameters_ppc64le in README.md
|
||||
- fixed issue #170 in sap_hana_preconfigure
|
||||
Related: #1891642
|
||||
* Mon Jun 28 2021 Than Ngo <than@redhat.com> - 3.1.1-5
|
||||
- updated tarball, galaxy.yml, README.md
|
||||
|
||||
* Mon Jun 07 2021 Than Ngo <than@redhat.com> - 3.1.1-4
|
||||
- update README.md
|
||||
- Adding the -collection-artifact subpackage, enabled using
|
||||
"--with collection_artifact". It is used for importing to
|
||||
ansible galaxy/automation hub.
|
||||
|
||||
* Fri May 21 2021 Than Ngo <than@redhat.com> - 3.1.1-3
|
||||
- convert roles to FQCN in the README files
|
||||
|
||||
* Thu May 20 2021 Than Ngo <than@redhat.com> - 3.1.1-2
|
||||
- rename dashes by underscores and drop sap-
|
||||
|
||||
* Tue May 18 2021 Than Ngo <than@redhat.com> - 3.1.1-1
|
||||
- rebase
|
||||
|
||||
* Wed Apr 14 2021 Than Ngo <than@redhat.com> - 3.1.0-3
|
||||
- bz#1928398, rebuilt against new python-ruamel-yaml-0.15.100 for conversion problem
|
||||
|
||||
* Mon Mar 22 2021 Than Ngo <than@redhat.com> - 3.1.0-2
|
||||
- rebase
|
||||
|
||||
* Tue Mar 02 2021 Than Ngo <than@redhat.com> - 3.1.0-1
|
||||
- added support Transfer SAP roles into collection format
|
||||
|
||||
* Wed Feb 24 2021 Than Ngo <than@redhat.com> - 3.0.1-3
|
||||
- Related: #1891642, fixed issue #125 in sap-preconfigure and #163 and #164 in sap-hana-preconfigure
|
||||
@ -360,6 +425,9 @@ Related: #2063050
|
||||
- Resolves: #1891638, bug fixes
|
||||
- Resolves: #1891642, new features
|
||||
|
||||
* Tue Jan 12 2021 Than Ngo <than@redhat.com> - 2.0.0-8
|
||||
- RHEL 9.0.0 Alpha build
|
||||
|
||||
* Mon Sep 21 2020 Than Ngo <than@redhat.com> - 2.0.0-7
|
||||
- Related: #1867027, fix #119
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user