I would like to deploy a 3 nodes cluster with ansible. (I'm new in the ansible world)
I would like to know if the playbook I made will answer all my requests.
My requests are:
- deploy elasticsearch and logstash to 3 servers.
- whenever a server break, I just need to launch the playbook so a new elasticsearch and logstash instance are installed in the new server and are added to the current cluster. (i don't backup the servers, so I need to reinstall when one break)
The roles I use are the official elacticsearch roles and for logstash: https://github.com/CyVerse-Ansible/ansible-logstash
Here is my playbook: https://gist.github.com/newclem/494d99c3815b1d32f15a6f038f0c92f1
Thank you !