opensearch-project / ansible-playbook

🤖 A community repository for Ansible Playbook of OpenSearch Project.
https://opensearch.org/
Apache License 2.0
81 stars 97 forks source link

wait for port to be open instead of hard-coded 10 seconds #123

Closed heiderich closed 1 year ago

heiderich commented 1 year ago

Description

instead of waiting hard-coded 10 seconds, better wait for the API port of opensearch to become available.

This is done in the same way in roles/linux/opensearch/tasks/main.yml, from where the replacing code was taken.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

prudhvigodithi commented 1 year ago

LGTM @peterzhuamazon @rishabh6788 can you please add your thoughts? Thank you

peterzhuamazon commented 1 year ago

Hi @heiderich please make sure this is backported to 1.x branch as well. Thanks!

peterzhuamazon commented 1 year ago

I go ahead and backport it now.