From 81f30e79725b270a9bcc9e23163eea867435d058 Mon Sep 17 00:00:00 2001 From: Michael Russell Date: Mon, 11 Mar 2019 23:07:01 +1000 Subject: [PATCH] Update readme to include versioned install command In #538 it was discovered that recent versions of the ansible galaxy command will fail if there aren't semver compatible releases in the history. The error says: > Please contact the role author to resolve versioning conflicts, or > specify an explicit role version to install. Removing the old releases is not such a great idea so instead updating the install command is the best option. Fixes: #538 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8986566..4e9846f 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ This role uses the json_query filter which [requires jmespath](https://github.co Create your Ansible playbook with your own tasks, and include the role elasticsearch. You will have to have this repository accessible within the context of playbook. ```sh -ansible-galaxy install elastic.elasticsearch +ansible-galaxy install elastic.elasticsearch,6.6.0 ``` Then create your playbook yaml adding the role elasticsearch. By default, the user is only required to specify a unique es_instance_name per role application. This should be unique per node.