ansible-roles/mongodb
Mathieu Trossevin 7c632352a0
Replace the include module with include_tasks or import_tasks
The behaviour of the `include` module is badly defined (it try to choose
between statically importing the tasks and dynamically including them)
and can cause problems depending on any number of constraints (mostly if
it choose the wrong behaviour).

Replace it with the `import_tasks` (always statically import tasks) unless
the `include` is in a loop in which case we replace it with
`include_tasks` (always dynamically include tasks).
2023-01-03 14:43:42 +01:00
..
defaults Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
files Various changes on mongodb (support 5.0) + fixes & compatibility 2021-10-05 15:49:47 +02:00
handlers mongodb: install custom munin plugins 2020-07-17 13:48:18 +02:00
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
tasks Replace the include module with include_tasks or import_tasks 2023-01-03 14:43:42 +01:00
templates Preliminary support for Bullseye 2021-07-02 20:58:09 +02:00
tests rename mongodb-org -> mongodb 2017-07-03 17:36:04 +02:00
.z_kitchen.yml rename mongodb-org -> mongodb 2017-07-03 17:36:04 +02:00
README.md mongodb: mention Buster support in README 2020-04-03 10:12:20 +02:00

mongodb

Install MongoDB

We use Debian packages for Stretch, but MongoDB.org packages for Jessie/Buster

Tasks

Everything is in the tasks/main.yml file.

Available variables

  • mongodb_port: port to listen to (default: 27017)
  • mongodb_bind: IP to bind to (default: 127.0.0.1)
  • mongodb_force_config: force copy the configuration (default: false)

The full list of variables (with default values) can be found in defaults/main.yml.