diff options
Diffstat (limited to 'docker/services/pacemaker/haproxy.yaml')
-rw-r--r-- | docker/services/pacemaker/haproxy.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/services/pacemaker/haproxy.yaml b/docker/services/pacemaker/haproxy.yaml index 3cdc5255..29bd22af 100644 --- a/docker/services/pacemaker/haproxy.yaml +++ b/docker/services/pacemaker/haproxy.yaml @@ -230,6 +230,9 @@ outputs: resource: {get_attr: [HAProxyBase, 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 haproxy cluster resource. tags: step2 @@ -237,4 +240,7 @@ outputs: resource: {get_attr: [HAProxyBase, role_data, service_name]} state: delete wait_for_resource: true + register: output + retries: 5 + until: output.rc == 0 when: is_bootstrap_node |