File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
src/roles/elasticsearch/tasks Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 118118 port : " {{ elasticsearch_transport_port }}"
119119 delay : 35
120120
121- - name : Wait for cluster health to return to yellow or green
122- uri :
123- url : " http://localhost:{{ elasticsearch_http_port }}/_cluster/health"
124- method : GET
125- register : response
126- until : " response.json.status == 'yellow' or response.json.status == 'green'"
127- retries : 5
128- delay : 30
129-
130121- name : Enable shard allocation for the cluster
131122 uri :
132123 url : " http://localhost:{{ elasticsearch_http_port }}/_cluster/settings"
140131 retries : 5
141132 delay : 30
142133
134+ - name : Wait for cluster health to return to yellow or green
135+ uri :
136+ url : " http://localhost:{{ elasticsearch_http_port }}/_cluster/health"
137+ method : GET
138+ register : response
139+ until : " response.json.status == 'yellow' or response.json.status == 'green'"
140+ retries : 5
141+ delay : 30
142+
143143
144144#
145145# No re-display Elasticsearch version
You can’t perform that action at this time.
0 commit comments