Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace MongoDB dependency #64

Open
mariussturm opened this issue Mar 2, 2017 · 3 comments
Open

Replace MongoDB dependency #64

mariussturm opened this issue Mar 2, 2017 · 3 comments

Comments

@mariussturm
Copy link
Contributor

Currently the tests are failing with:

TASK [elastic.elasticsearch : set_fact] ****************************************

fatal: [localhost]: FAILED! => {"failed": true, "msg": "'redhat_elasticsearch_install_from_repo' is undefined"}   

I think this is because of the Ansible version we use for running the tests. Elasticsearch needs Ansible version >= 2.2.0 and the test suite uses 2.1.

For updating the test suite to 2.2 we need a MongoDB role that is compatible with it.

https://github.com/lesmyrmidons/ansible-role-mongodb unfortunately doesn't work. Since a fix is on master but never pushed to Galaxy I consider that role as unmaintained.

So to get out of this we need a maintained MongoDB role that supports Ansible 2.2 as well as Debian/Ubuntu platform and RedHat/Centos.

@mariussturm
Copy link
Contributor Author

To get the tests green again we use the master branch of the current MongoDB role and provide a requirements.yml that works with Ansible 2.1.2 and 2.2.1 #67
From there on we can research other MongoDB solutions.

@malcyon
Copy link
Contributor

malcyon commented Jul 28, 2020

I tried using this role, but it doesn't work on CentOS 7:

https://github.com/UnderGreen/ansible-role-mongodb

It seems like there aren't a lot of good MongoDB roles out there. I'm guessing that's why we install it ourselves.

@malcyon
Copy link
Contributor

malcyon commented Nov 12, 2021

This looks promising:

https://github.com/ansible-collections/community.mongodb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants