From 15afce49ab3429e07624594a0a8829c4a73a8cef Mon Sep 17 00:00:00 2001 From: lilyeyes Date: Fri, 5 Jan 2024 10:56:38 +0800 Subject: [PATCH] Set "allow-unhealthy-nodes=true" for HA resource Set "allow-unhealthy-nodes=true" for HA resource ocf:heartbeat:azure-events --- ansible/playbooks/tasks/azure-cluster-bootstrap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/playbooks/tasks/azure-cluster-bootstrap.yaml b/ansible/playbooks/tasks/azure-cluster-bootstrap.yaml index 7bb4bfd1..8e1cfb31 100644 --- a/ansible/playbooks/tasks/azure-cluster-bootstrap.yaml +++ b/ansible/playbooks/tasks/azure-cluster-bootstrap.yaml @@ -231,7 +231,7 @@ - not use_sbd | bool and azure_identity_management == 'spn' - name: Add Azure scheduled events to cluster - ansible.builtin.command: crm configure primitive rsc_azure-events ocf:heartbeat:azure-events op monitor interval=10s + ansible.builtin.command: crm configure primitive health-azure-events ocf:heartbeat:azure-events-az meta allow-unhealthy-nodes=true op monitor interval=10s when: - is_primary - rsc_azure_events | length == 0