Install Elasticsearch Curtor, for index management.
Everything is in the tasks/main.yml file.
tasks/main.yml