From 2fa9c66e03430645c5feb5c85127d5c96d303ecc Mon Sep 17 00:00:00 2001 From: Janine Fuchs Date: Fri, 29 Nov 2024 15:41:41 +0100 Subject: [PATCH 1/2] sap_ha_pacemaker_cluster: fix MS Azure repo name for RHEL --- roles/sap_ha_pacemaker_cluster/vars/redhat.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/sap_ha_pacemaker_cluster/vars/redhat.yml b/roles/sap_ha_pacemaker_cluster/vars/redhat.yml index 569c91c3..1e49fbff 100644 --- a/roles/sap_ha_pacemaker_cluster/vars/redhat.yml +++ b/roles/sap_ha_pacemaker_cluster/vars/redhat.yml @@ -31,8 +31,8 @@ __sap_ha_pacemaker_cluster_repos_dict: cloud_msazure_vm: - id: "rhel-{{ ansible_distribution_major_version }}-for-{{ ansible_architecture }}-highavailability-e4s-rhui-rpms" name: High Availability - - id: "rhui-microsoft-azure-rhel8-sap-ha" - name: Microsoft Azure RPMs for Red Hat Enterprise Linux 8 (rhel8-sap-ha) + - id: "rhui-microsoft-azure-rhel{{ ansible_distribution_major_version }}-sap-ha" + name: Microsoft Azure RPMs for Red Hat Enterprise Linux {{ ansible_distribution_major_version }} (rhel{{ ansible_distribution_major_version }}-sap-ha) hyp_ibmpower_vm: - id: "rhel-{{ ansible_distribution_major_version }}-for-{{ ansible_architecture }}-highavailability-e4s-rpms" name: High Availability E4S (4-Year) for Power, little endian From 443e30e206d2cad6177c970b9172d4dde3162cd1 Mon Sep 17 00:00:00 2001 From: Janine Fuchs Date: Fri, 29 Nov 2024 15:54:18 +0100 Subject: [PATCH 2/2] sap_ha_pacemaker_cluster: fix RHEL 9+ resource agent package list on MS Azure --- roles/sap_ha_pacemaker_cluster/vars/redhat.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/sap_ha_pacemaker_cluster/vars/redhat.yml b/roles/sap_ha_pacemaker_cluster/vars/redhat.yml index 1e49fbff..d8fc31b4 100644 --- a/roles/sap_ha_pacemaker_cluster/vars/redhat.yml +++ b/roles/sap_ha_pacemaker_cluster/vars/redhat.yml @@ -87,6 +87,7 @@ __sap_ha_pacemaker_cluster_platform_extra_packages_dict: cloud_gcp_ce_vm: - resource-agents-gcp cloud_msazure_vm: + - "{{ 'resource-agents-cloud' if ansible_distribution_major_version is version('9', '>=') else '' }}" - socat # Dictionary with additional cluster packages for specific scenarios