aboutsummaryrefslogtreecommitdiffstats
path: root/docker/services/pacemaker/rabbitmq.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docker/services/pacemaker/rabbitmq.yaml')
-rw-r--r--docker/services/pacemaker/rabbitmq.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/services/pacemaker/rabbitmq.yaml b/docker/services/pacemaker/rabbitmq.yaml
index ba1abaf..b099374 100644
--- a/docker/services/pacemaker/rabbitmq.yaml
+++ b/docker/services/pacemaker/rabbitmq.yaml
@@ -221,6 +221,9 @@ outputs:
resource: {get_attr: [RabbitmqBase, role_data, service_name]}
state: disable
wait_for_resource: true
+ register: output
+ retries: 5
+ until: output.rc == 0
when: is_bootstrap_node
- name: Delete the stopped rabbitmq cluster resource.
tags: step2
@@ -228,6 +231,9 @@ outputs:
resource: {get_attr: [RabbitmqBase, role_data, service_name]}
state: delete
wait_for_resource: true
+ register: output
+ retries: 5
+ until: output.rc == 0
when: is_bootstrap_node
- name: Disable rabbitmq service
tags: step2