Graylog2 / graylog-ansible-role

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

Various test enhancements #147

Closed malcyon closed 4 years ago

malcyon commented 4 years ago

Currently, the test playbook just installs Graylog. Ideally, it should start up Elasticsearch, Mongodb, and Graylog and ensure they start correctly.

malcyon commented 4 years ago

Both Graylog and Elasticsearch's "Install Java" options fail on Debian 8 and 10. It seems to be because Java 8 isn't available in the repos for those OS's. Debian 8 isn't getting security patches anymore, so we probably shouldn't even test that.

In an effort to get a little more flexibility in what Java gets installed, I'm adding a Java role as a dependency. It can optionally be disabled with graylog_install_java: False. I'm assuming people can handle installing Java themselves, but I want the tests to work. And getting Java to install on every OS is a bit of work. I gave it a try here, but decided it's not a good use of my time.