Merge "Retry perform a synced flush task while upgrading elasticsearch"

This commit is contained in:
Zuul 2019-03-27 20:15:03 +00:00 committed by Gerrit Code Review
commit 14bcf33eb0

View File

@ -21,6 +21,10 @@
body_format: json
delegate_to: "{{ groups['elasticsearch'][0] }}"
run_once: true
retries: 10
delay: 5
register: result
until: ('status' in result) and result.status == 200
# Stop all elasticsearch containers before applying configuration to ensure
# handlers are triggered to restart them.