Created
May 26, 2017 09:38
-
-
Save oboukili/759af2d1c0da2778ac74490de88c2050 to your computer and use it in GitHub Desktop.
es
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: Wait for elasticsearch cluster replica shards to be fully allocated for 5 minutes. | |
| uri: | |
| url: http://localhost:9200/_cluster/health?wait_for_no_relocating_shards=true&timeout=5s | |
| return_content: true | |
| register: elasticsearch_cluster_health | |
| until: elasticsearch_cluster_health.json.status == "green" | |
| retries: 100 | |
| when: groups['elasticsearch']|length > 1 | |
| environment: | |
| http_proxy: '' | |
| https_proxy: '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment