Graylog2 / graylog-ansible-role

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

Make Mongodb version configurable. #148

Closed malcyon closed 4 years ago

malcyon commented 4 years ago

The version of MongoDB should be configurable, not hardcoded. At the same time, I am wary of surprise-updating someone's MongoDB instance. I think it should be opt-in, so people can upgrade when they want and ensure they are ready for it. The user should tell us what version of MongoDB they want.

This will make it so that if someones specifies graylog_install_mongodb: True, then they will also need to specify graylog_mongodb_version and the key for the package repo. If they specify graylog_install_mongodb: False, then nothing will change, as the code will be ignored.