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

verify cluster status after installation and fail the ansible job if cluster fails #8

Closed saravanan30erd closed 2 years ago

saravanan30erd commented 2 years ago

Signed-off-by: saravanan palanisamy saravanan30erd@gmail.com

Description

Verify the opensearch cluster status after installation, and pass the ansible job only if the cluster status is fine otherwise fail the job. In some scenarios, ansible job will be completed without any issues but opensearch cluster might have issues. so we are failing the ansible job if the cluster have any issues.

Issues Resolved

issue: #6

Check List

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.

saravanan30erd commented 2 years ago

@peterzhuamazon @TheAlgo