From de7ada2c9923bd788ed06d279a6417c38c6cf199 Mon Sep 17 00:00:00 2001 From: devanshjain Date: Mon, 30 Jun 2025 17:13:08 +0000 Subject: [PATCH] Refactor resource migration tasks for improved clarity and organization --- src/roles/ha_db_hana/tasks/resource-migration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roles/ha_db_hana/tasks/resource-migration.yml b/src/roles/ha_db_hana/tasks/resource-migration.yml index 0c609767..d76f1248 100644 --- a/src/roles/ha_db_hana/tasks/resource-migration.yml +++ b/src/roles/ha_db_hana/tasks/resource-migration.yml @@ -32,9 +32,9 @@ test_execution_hostname: "{{ hostvars[cluster_status_pre.primary_node].ansible_hostname }}" - name: "Test Execution: Get HANA resource id for saphanasr_angi" + when: saphanasr_provider | default('SAPHanaSR') == "SAPHanaSR-angi" block: - name: "Test Execution: Get HANA resource id for saphanasr_angi" - when: saphanasr_provider | default('SAPHanaSR') == "SAPHanaSR-angi" ansible.builtin.shell: >- set -o pipefail && {{ commands | selectattr('name','equalto','get_hana_resource_id_saphanasr_angi')