From 5450f3efd2c5281933d5ddc9f9fb62a6d1708004 Mon Sep 17 00:00:00 2001 From: Janine Fuchs Date: Wed, 25 Sep 2024 12:49:30 +0200 Subject: [PATCH] fix: vip resources must be first in ASCS/ERS resource groups --- .../tasks/construct_vars_nwas_abap_ascs_ers.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/sap_ha_pacemaker_cluster/tasks/construct_vars_nwas_abap_ascs_ers.yml b/roles/sap_ha_pacemaker_cluster/tasks/construct_vars_nwas_abap_ascs_ers.yml index 67d2ad991..7c264ec45 100644 --- a/roles/sap_ha_pacemaker_cluster/tasks/construct_vars_nwas_abap_ascs_ers.yml +++ b/roles/sap_ha_pacemaker_cluster/tasks/construct_vars_nwas_abap_ascs_ers.yml @@ -256,9 +256,9 @@ resource_ids: | {% set resource_ids_list = [] %} {%- for resource in + sap_ha_pacemaker_cluster_vip_nwas_abap_ascs_resource_name, sap_ha_pacemaker_cluster_nwas_abap_ascs_filesystem_resource_name, sap_ha_pacemaker_cluster_nwas_abap_ascs_sapinstance_resource_name, - sap_ha_pacemaker_cluster_vip_nwas_abap_ascs_resource_name, sap_ha_pacemaker_cluster_healthcheck_nwas_abap_ascs_resource_name %} {%- if resource | length > 0 and resource in (__sap_ha_pacemaker_cluster_resource_primitives | map(attribute='id')) %} @@ -288,9 +288,9 @@ resource_ids: | {% set resource_ids_list = [] %} {%- for resource in + sap_ha_pacemaker_cluster_vip_nwas_abap_ers_resource_name, sap_ha_pacemaker_cluster_nwas_abap_ers_filesystem_resource_name, sap_ha_pacemaker_cluster_nwas_abap_ers_sapinstance_resource_name, - sap_ha_pacemaker_cluster_vip_nwas_abap_ers_resource_name, sap_ha_pacemaker_cluster_healthcheck_nwas_abap_ers_resource_name %} {%- if resource | length > 0 and resource in (__sap_ha_pacemaker_cluster_resource_primitives | map(attribute='id')) %}