Re: Rolling Restart an Elasticsearch Cluster with Ansible

2014-09-17 Thread Radu Gheorghe
Hello Lance, This looks really nice and useful, thanks for sharing! When yous end a cluster health command, you can also tell it to wait_for_status=green or wait_for_status=yellow with a specified timeout: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-health.html#

Rolling Restart an Elasticsearch Cluster with Ansible

2014-09-17 Thread Lance A. Brown
I've come up with what I think is a safe way to rolling restart an Elasticsearch cluster using Ansible handlers. Why is this needed? Even if you use a serial setting to limit the number of nodes processed at one time, Ansible will restart elasticsearch nodes and continue processing as soon as