Graylog2 / graylog-ansible-role

Ansible role which installs and configures Graylog
Apache License 2.0
212 stars 126 forks source link

Modified the example playbook in the README to fix ES startup errors #97

Closed zeknox closed 5 years ago

zeknox commented 5 years ago

Hey thanks for the Ansible playbook here. When attempting to execute the example provided on the README page it seems there is an unnecessary comma within the YAML playbook syntax.

This comma ends up getting inserted into an Elasticsearch configuration file, and in turn causes Elasticsearch to choke when starting up with an error like below:

java.lang.IllegalArgumentException: Failed to parse value [True,] cannot be parsed to boolean [ true/1/on/yes OR false/0/off/no ]

You'll know you're having the issue when you execute the sample playbook and it will hang on the task for:

TASK [elastic.elasticsearch : Wait for elasticsearch to startup]

Removing the comma from the playbook seemed to resolve the issue for me. Hope this helps someone else.

CLAassistant commented 5 years ago

CLA assistant check
All committers have signed the CLA.

mariussturm commented 5 years ago

Good catch! Thanks!