aboutsummaryrefslogtreecommitdiffstats
path: root/docker/services/pacemaker/database/redis.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docker/services/pacemaker/database/redis.yaml')
-rw-r--r--docker/services/pacemaker/database/redis.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/services/pacemaker/database/redis.yaml b/docker/services/pacemaker/database/redis.yaml
index ac64120..4ebeae8 100644
--- a/docker/services/pacemaker/database/redis.yaml
+++ b/docker/services/pacemaker/database/redis.yaml
@@ -228,6 +228,9 @@ outputs:
resource: {get_attr: [RedisBase, 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 redis cluster resource.
tags: step2
@@ -235,6 +238,9 @@ outputs:
resource: {get_attr: [RedisBase, role_data, service_name]}
state: delete
wait_for_resource: true
+ register: output
+ retries: 5
+ until: output.rc == 0
when: is_bootstrap_node
- name: Disable redis service
tags: step2