Accept either 200 or 401 instead of wasting 3 minutes waiting for this to timeout

This commit is contained in:
Jason Ertel
2021-06-16 11:39:21 -04:00
parent 09fbb045a1
commit dd14235e31

View File

@@ -107,6 +107,10 @@ wait_for_elasticsearch:
- http.wait_for_successful_query:
- url: 'https://{{MANAGER}}:9200/_cat/indices/.kibana*'
- wait_for: 180
- status:
- 200
- 401
- status_type: list
- verify_ssl: False
so-elastalert: