Supported Ansible module for MongoDB
Supported Ansible modules for MongoDB. Maybe a module for self managed and Atlas.
7
votes
![](https://secure.gravatar.com/avatar/3acf83ad34ce7ad329c517e8a9719183?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Fabio commented
I have automated the OpsManager deployment (only on-premise), then creation and configuration of OpsManager projects. I have managed to do most tasks:
* calling the OpsManager API (uri Ansible module) or
* using mongocli (command Ansible module)Then, after each operation, we have to wait for the changes to be applied (using another mongocli command).
It would be nice if there was a mongodb_opsmanager Ansible module, that wrapped around the OpsManager API and included the possibility to wait for changes to be applied.
-
Albert commented
Maybe use the command module and call out mongocli.