| 1 |
ancestor: null |
| 2 |
releases: |
| 3 |
1.0.0: |
| 4 |
changes: |
| 5 |
release_summary: | |
| 6 |
The first stable release of the commmunity.mongodb collection. |
| 7 |
Many of the plugins and modules were previously released in ansible itself. |
| 8 |
modules: |
| 9 |
- description: Manages the MongoDB Sharded Cluster Balancer. |
| 10 |
name: mongodb_balancer |
| 11 |
namespace: '' |
| 12 |
- description: Creates or drops indexes on MongoDB collections. |
| 13 |
name: mongodb_index |
| 14 |
namespace: '' |
| 15 |
- description: Gather information about MongoDB instance. |
| 16 |
name: mongodb_info |
| 17 |
namespace: '' |
| 18 |
- description: Enables or disables maintenance mode for a secondary member. |
| 19 |
name: mongodb_maintenance |
| 20 |
namespace: '' |
| 21 |
- description: Resizes the MongoDB oplog. |
| 22 |
name: mongodb_oplog |
| 23 |
namespace: '' |
| 24 |
- description: Change an administrative parameter on a MongoDB server |
| 25 |
name: mongodb_parameter |
| 26 |
namespace: '' |
| 27 |
- description: Initialises a MongoDB replicaset. |
| 28 |
name: mongodb_replicaset |
| 29 |
namespace: '' |
| 30 |
- description: Add or remove shards from a MongoDB Cluster |
| 31 |
name: mongodb_shard |
| 32 |
namespace: '' |
| 33 |
- description: Cleans up all database resources and then terminates the mongod/mongos |
| 34 |
process. |
| 35 |
name: mongodb_shutdown |
| 36 |
namespace: '' |
| 37 |
- description: Validates the status of the cluster. |
| 38 |
name: mongodb_status |
| 39 |
namespace: '' |
| 40 |
- description: Step down the MongoDB node from a PRIMARY state. |
| 41 |
name: mongodb_stepdown |
| 42 |
namespace: '' |
| 43 |
- description: Adds or removes a user from a MongoDB database |
| 44 |
name: mongodb_user |
| 45 |
namespace: '' |
| 46 |
plugins: |
| 47 |
cache: |
| 48 |
- description: This cache uses per host records saved in MongoDB. |
| 49 |
name: mongodb |
| 50 |
namespace: '' |
| 51 |
lookup: |
| 52 |
- description: 'The ``MongoDB`` lookup runs the *find()* command on a given *collection* on a given *MongoDB* server.' |
| 53 |
name: mongodb |
| 54 |
namespace: '' |
| 55 |
objects: |
| 56 |
role: |
| 57 |
- description: Configure the CSRS Config Server Replicaset for a MongoDB sharded |
| 58 |
cluster. (Use mongodb_mongod for Standalone installations - this does not |
| 59 |
create mongo.conf) |
| 60 |
name: mongodb_config |
| 61 |
namespace: null |
| 62 |
- description: Install MongoDB packages on Debian and RedHat based platforms. |
| 63 |
name: mongodb_install |
| 64 |
namespace: null |
| 65 |
- description: A simple role to configure Linux Operating System settings, as |
| 66 |
advised in the MongoDB Production Notes. |
| 67 |
name: mongodb_linux |
| 68 |
namespace: null |
| 69 |
- description: Configure the mongod service (includes populating mongod.conf) |
| 70 |
which is a MongoDB replicaset or standalone server. |
| 71 |
name: mongodb_mongod |
| 72 |
namespace: null |
| 73 |
- description: Configure the mongos service (includes populating mongos.conf) |
| 74 |
which only runs in a sharded MongoDB cluster. |
| 75 |
name: mongodb_mongos |
| 76 |
namespace: null |
| 77 |
- description: Configures a package repository for MongoDB on Debian and RedHat |
| 78 |
based platforms. |
| 79 |
name: mongodb_repository |
| 80 |
namespace: null |
| 81 |
- description: Configure SELinux for MongoDB. |
| 82 |
name: mongodb_selinux |
| 83 |
namespace: null |
| 84 |
release_date: '2020-08-06' |
| 85 |
1.1.0: |
| 86 |
changes: |
| 87 |
release_summary: | |
| 88 |
This release adds the mongodb_shell module and the mongodb_auth role. |
| 89 |
modules: |
| 90 |
- description: Run commands via the MongoDB shell. |
| 91 |
name: mongodb_shell |
| 92 |
namespace: '' |
| 93 |
objects: |
| 94 |
role: |
| 95 |
- description: Configure auth on MongoDB servers. |
| 96 |
name: mongodb_auth |
| 97 |
namespace: null |
| 98 |
release_date: '2020-10-24' |
| 99 |
1.1.1: |
| 100 |
changes: |
| 101 |
bugfixes: |
| 102 |
- 235 - Fix namespace. |
| 103 |
release_date: '2020-11-04' |
| 104 |
1.1.2: |
| 105 |
changes: |
| 106 |
bugfixes: |
| 107 |
- 252 - Fix config template override in various roles. |
| 108 |
- 255 - Add replica_set param to mongodb_index module. |
| 109 |
- 264 - Only add force parameter to shutdown command when set to true. |
| 110 |
- 275 - Use OrderedDict class in the following modules, mongodb_balancer, mongodb_oplog, |
| 111 |
mongodb_shutdown. |
| 112 |
release_date: '2021-01-06' |
| 113 |
1.2.0: |
| 114 |
changes: |
| 115 |
release_summary: | |
| 116 |
A variety of idempotency and reliability improvements. |
| 117 |
bugfixes: |
| 118 |
- 281 - mongodb_linux Fixes disable-transparent-huge-pages.service idempotency. |
| 119 |
- 282 - Add restart handler, and bool variable to control to mongofb_config/mongod/mongos |
| 120 |
roles. |
| 121 |
- 285 - Output users and roles dict by database to avoid overwriting entries. |
| 122 |
- 287 - Fixes return value on older versions of MongoDB. |
| 123 |
- 290 - Adds pseudo-idempotency feature to module. |
| 124 |
release_date: '2021-01-31' |
| 125 |
1.2.1: |
| 126 |
changes: |
| 127 |
minor_changes: |
| 128 |
- 304 - Adds validate parameter to mongodb_status module. |
| 129 |
release_date: '2021-02-09' |
| 130 |
1.3.0: |
| 131 |
changes: |
| 132 |
release_summary: | |
| 133 |
This release improves sharded cluster management, and adds schema validator management. |
| 134 |
Several bug fixes improve compatibility with python3.6. |
| 135 |
security_fixes: |
| 136 |
- 312 - Set no_log True for ssl_keyfile. |
| 137 |
bugfixes: |
| 138 |
- 315 - Fix exception handling for mongodb_stepdown module on python3.6 |
| 139 |
- 320 - Fix exception handling for modules mongodb_balancer, mongodb_shard, |
| 140 |
and mongodb_status. |
| 141 |
- 352 - Add ansible.posix collection to dependencies list. |
| 142 |
minor_changes: |
| 143 |
- 338 - role monogdb_repository - Variablize repository details. |
| 144 |
- 345 - roles mongodb_config, mongodb_mongod, mongodb_mongos - Make security.keyFile |
| 145 |
configurable. |
| 146 |
- 346 - roles mongodb_config, mongodb_mongod, mongodb_mongos - Allow using net.bindIpAll |
| 147 |
instead of net.bindIp. |
| 148 |
- 347 - roles mongodb_config, mongodb_mongod, mongodb_mongos - Allow overriding |
| 149 |
net.compression.compressors in mongo*.conf |
| 150 |
modules: |
| 151 |
- description: Manages the free monitoring feature. |
| 152 |
name: mongodb_monitoring |
| 153 |
namespace: '' |
| 154 |
- description: Manages MongoDB Document Schema Validators. |
| 155 |
name: mongodb_schema |
| 156 |
namespace: '' |
| 157 |
- description: Manage Shard Tags. |
| 158 |
name: mongodb_shard_tag |
| 159 |
namespace: '' |
| 160 |
- description: Manage Shard Zones. |
| 161 |
name: mongodb_shard_zone |
| 162 |
namespace: '' |
| 163 |
release_date: '2021-07-20' |
| 164 |
1.3.1: |
| 165 |
release_summary: | |
| 166 |
This release is a maintenance release. The GitHub CI has been updated to include MongoDB 5.0 as well |
| 167 |
as a few new features. The mongosh shell is now supported in the mongodb_shell module. Support for the |
| 168 |
old mongo shell will be removed in a future release. |
| 169 |
minor_changes: |
| 170 |
- 360 - mongodb_shell - Adds support for the mongosh shell now available with MongoDB 5.0. |
| 171 |
- 368 - mongodb_shell - Use shlex escape function. |
| 172 |
- 370 - mongodb_install - Adds mongodb_hold_packages variable. Runs the lock_mongodb_packages.sh script |
| 173 |
to either lock mongodb-org packages at a specific version or to release the lock. |
| 174 |
Set to "HOLD" or "NOHOLD" as desired. No checks are made to see if the hold already exists or not. |
| 175 |
By default this variable is undefined and the script is not executed. |
| 176 |
The task is executed at the end and it is possible that packages could be upgraded |
| 177 |
before the lock is initially applied. |
| 178 |
deprecated_features: |
| 179 |
- mongodb_shell - Support for the mongo shell is deprecated and will be removed in a future version. |
| 180 |
1.3.2: |
| 181 |
release_summary: | |
| 182 |
This release is a maintenance release. |
| 183 |
minor_changes: |
| 184 |
- 413 - mongodb_shell - Adds escape_param function that will work better across various python versions. |
| 185 |
- 414-416 - Minor documentation improvements. |
| 186 |
- 411 - mongodb_shell - FIx missing db parameter when fiel parmeter is used. |
| 187 |
- 403 - Make db path configurable in roles. |
| 188 |
- 401 - mongodb_replicaset - Add further examples. |
| 189 |
- 399 - Removes unused imports from modules. |
| 190 |
- 396 - Add tags to roles. |
| 191 |
- 387 - Fix documentation for mongod cache plugin. |
| 192 |
major_changes: |
| 193 |
- 397 & 376 - mongodb_replicaset - Add reconfigure abilities to module. Add and removes members from replicasets. |
| 194 |
1.3.3: |
| 195 |
release_summary: | |
| 196 |
This release is a maintenance release. |
| 197 |
bugfixes: |
| 198 |
- 448 - Fix issue in roles where mongod does not restart when a custom bind_ip is set. |
| 199 |
- 440 - Fix incorrect alias ssl_crlfile. |
| 200 |
- 450 - Fix issues with mongodb_replicaset connecting with the pymongo 4.0.X driver. |
| 201 |
minor_changes: |
| 202 |
- 450 - mongodb_replicaset. Introduce cluster_cmd parameter. Can be set to isMaster or hello. |
| 203 |
hello is the default. isMaster is useful for older versions of MongoDB. |
| 204 |
See [db.hello()](https://www.mongodb.com/docs/manual/reference/method/db.hello/) for more. |
| 205 |
1.3.4: |
| 206 |
release_summary: | |
| 207 |
This release is a maintenance release. |
| 208 |
bugfixes: |
| 209 |
- 466 & 467 - Fixes localhost exception bug due to directConnection parameter in newer pymongo versions. |
| 210 |
1.4.0: |
| 211 |
release_summary: | |
| 212 |
This release is a maintenance release. Pymongo versions 3.12.* or 4.* are now required. MongoDB version 4+ are also required but can be overriden if desired. |
| 213 |
major_changes: |
| 214 |
- 470 - Removes depreciated distutils package and require Pymongo 3.12+ and MongoDB 4+ |
| 215 |
Adds a new parameter strict_compatibility (default true). |
| 216 |
Set to false to disable Pymongo and MongoDB requirements. |
| 217 |
1.4.1: |
| 218 |
release_summary: | |
| 219 |
This release is a maintenance release. |
| 220 |
minor_changes: |
| 221 |
- 474 - Adds log_path parameter to mongodb_mongod, mongodb_mongos and mongodb_config roles. |
| 222 |
bugfixes: |
| 223 |
- 479 - mongodb_shell - Correct supports_check_mode value. Used to be true, which is wrong, now false. |
| 224 |
1.4.2: |
| 225 |
release_summary: | |
| 226 |
This release is a maintenance release. |
| 227 |
minor_changes: |
| 228 |
- 483 - Removes previous upper bound restriction for communiry.general collection, |
| 229 |
- 483 - Use extended FQCN for pam_limits (community.general.system.pam_limits instead of community.general.pam_limits). |
| 230 |
1.5.0: |
| 231 |
release_summary: | |
| 232 |
This release is a maintenance release. |
| 233 |
changes: |
| 234 |
minor_changes: |
| 235 |
- 544 mongodb_replicaset - Module documentation improvements. |
| 236 |
- 494 mongodb_shutdown - Fix examples block. |
| 237 |
- 491 mongodb_shell - Add feature to detect if mongo or mongosh is available. |
| 238 |
- 530 mongodb_role - Adds new module to manage MongoDB roles. |
| 239 |
- 547 mongodb_repository - Bump default of MongoDB to 6.0. |
| 240 |
- 536 mongodb_auth - Add user after enabling authentication. |
| 241 |
- 528 multiple roles - Use first ip address when multiple bind IPs provided. |
| 242 |
- 524 mongodb_auth - Add supports for Amazon Linux 2. |
| 243 |
- 514 mongodb_linux - Remove extended FQCN for pam_limits. |
| 244 |
- 511 mongodb_auth - Adds support for deletion of users. |
| 245 |
- 494 mongodb_auth - Removes module_defaults from role. |
| 246 |
bug_fixes: |
| 247 |
- 540 mongodb_replicaset - replicaset member priority updates. |
| 248 |
- 488 mongodb_info - Better handling of json data types. |
| 249 |
modules: |
| 250 |
- description: |
| 251 |
- Manage MongoDB User Roles (#530). |
| 252 |
name: mongodb_role |
| 253 |
namespace: community |
| 254 |
1.5.1: |
| 255 |
release_summary: | |
| 256 |
This release is a maintenance release. |
| 257 |
changes: |
| 258 |
bug_fixes: |
| 259 |
- 534 mongodb_selinux - Reinstall SELinux policy when changed. |
| 260 |
1.5.2: |
| 261 |
release_summary: | |
| 262 |
This release is a maintenance release. |
| 263 |
minor_changes: |
| 264 |
- 558 mongodb_replicaset - Minor documentation update. |
| 265 |
bugfixes: |
| 266 |
- 565 mongodb_role - Replaces integers with booleans used in query doc to obtain role info. Only MongoDB <= 4.4 was affected. |
| 267 |
1.6.0: |
| 268 |
release_summary: | |
| 269 |
This release is a maintenance release. |
| 270 |
minor_changes: |
| 271 |
- 569 - All pymongo modules - Better support for MongoDB Atlas. |
| 272 |
- 568 - Minor documentation updates. |
| 273 |
1.6.1: |
| 274 |
release_summary: | |
| 275 |
This release is a maintenance release. |
| 276 |
minor_changes: |
| 277 |
- 578 - mongodb_role - More robust comparison of user roles. |
| 278 |
1.6.2: |
| 279 |
release_summary: | |
| 280 |
This release is a maintenance release. |
| 281 |
minor_changes: |
| 282 |
- 583 - mongodb_linux - Add vars for RedHat 9 to role. |
| 283 |
- 586 - mongodb_auth - Add ssl vars to role. |
| 284 |
- 589 - mongodb_linux - Adds vars to better handle ntp package installation and handling. |
| 285 |
- 588 - mongodb_linux - Default ntp system to systemd-timesyncd for Debian12. |
| 286 |
- 593 - mongodb_linux - Add vm.max_map_count = 128000 sysctl config. |
| 287 |
- 597 - mongodb_monitoring - Module has been deleted as Free Monitoring service has been stopped. |
| 288 |
- 595 - mongodb_linux - Improvements to transparent_hugepage handling. |
| 289 |
1.6.3: |
| 290 |
release_summary: | |
| 291 |
This release is a maintenance release. |
| 292 |
minor_changes: |
| 293 |
- 600 - Remove delete module from README.md. |
| 294 |
- 601 - mongodb_install - Fix issue with specific_mongodb_version on RedHat OS family. |
| 295 |
1.7.0: |
| 296 |
release_summary: | |
| 297 |
This release is a maintenance release. |
| 298 |
minor_changes: |
| 299 |
- 622 - mongodb_mongod - Allow systemd configuration override. |
| 300 |
- 620 - mongodb_common - Use SSL constants in shared connection code. |
| 301 |
- 609 - mongodb_mongod, mongodb_mongos, mongodb_config - support for allowConnectionsWithoutCertificates. |
| 302 |
- 605 - mongodb_mongod, mongodb_mongos, mongodb_config - support for security.disabledProtocols. |
| 303 |
bugfixes: |
| 304 |
- 614 - mongodb_replicaset - Count voting members based on the sum of "votes" and using a comprehension list. |
| 305 |
- 611 - mongodb_role - lambda function changed to support non-existing keys. |
| 306 |
modules: |
| 307 |
- description: |
| 308 |
- Manage database clusters in Atlas (#612) |
| 309 |
name: mongodb_atlas_cluster |
| 310 |
namespace: community |
| 311 |
- description: |
| 312 |
- Manage LDAP users in Atlas (#612) |
| 313 |
name: mongodb_atlas_ldap_user |
| 314 |
namespace: community |
| 315 |
- description: |
| 316 |
- Manage database users in Atlas (#612) |
| 317 |
name: mongodb_atlas_user |
| 318 |
namespace: community |
| 319 |
- description: |
| 320 |
- Manage IP whitelists in Atlas (#612) |
| 321 |
name: mongodb_atlas_whitelist |
| 322 |
namespace: community |
| 323 |
1.7.1: |
| 324 |
release_summary: | |
| 325 |
This release is a maintenance release. |
| 326 |
bugfixes: |
| 327 |
- 631 - cache/mongodb.py - Support pymongo 4.0+. This plugin no longer support pymongo 3.12.*. |
| 328 |
1.7.2: |
| 329 |
release_summary: | |
| 330 |
This release is a maintenance release. |
| 331 |
bugfixes: |
| 332 |
- 638 - mongodb_replicaset - Allow module to update replicaset horizons. |
| 333 |
1.7.3: |
| 334 |
release_summary: | |
| 335 |
This release is a maintenance release. |
| 336 |
bugfixes: |
| 337 |
- 641 - mongodb_mongod - Add test condition for storage option in mongod.conf template file. |
| 338 |
1.7.4: |
| 339 |
release_summary: | |
| 340 |
This release is a maintenance release. |
| 341 |
minor_changes: |
| 342 |
- 644 - mongodb_shell - Add ssl/tls options. |
| 343 |
1.7.5: |
| 344 |
release_summary: | |
| 345 |
This release is a maintenance release. |
| 346 |
minor_changes: |
| 347 |
- 648 - mongodb_auth - make create_for_localhost_exception configurable. |
| 348 |
- 653 - mongodb_auth - Use mongod_host variable instead of hardcoded localhost. |
| 349 |
- 657 - mongodb_common (all modules) - Handle arbiters in test for auth. This was done for the mongodb_status module but affects all modules using this shared code. |
| 350 |
- 660 - runtime.yml - Adds atlas, mongodb and all action_groups to collection. |
| 351 |
1.7.6: |
| 352 |
release_summary: | |
| 353 |
This release is a maintenance release. |
| 354 |
bugfixes: |
| 355 |
- 666 - mongodb_linux - Fix check for Transparent Huge Pages. |
| 356 |
- 669 - mongodb_common - Replaces readfp function with read_file to support Python 3.12. |
| 357 |
minor_changes: |
| 358 |
- 667 - Several modules - Minor documentation update. |
| 359 |
1.7.7: |
| 360 |
release_summary: | |
| 361 |
This release is a maintenance release. |
| 362 |
bugfixes: |
| 363 |
- 678 - mongodb_shell - This module did not implement the standard connection_options |
| 364 |
feature since it is not a pymongo module. This has now been implemented in this module. |
| 365 |
The connection_options parameter will be parsed, in a similar way to pymongo based modules, |
| 366 |
and those options will be appended to the mongodb connection url. |
| 367 |
e.g. mongodb://localhost:3001/test?replicaSet=myReplSet |
| 368 |
minor_changes: |
| 369 |
- 675 & 673 - Minor documentation updates. |
| 370 |
1.7.8: |
| 371 |
release_summary: | |
| 372 |
This release is a maintenance release. |
| 373 |
minor_changes: |
| 374 |
- 681 - mongodb_repository - Updates the default of apt_key_url. |
| 375 |
1.7.9: |
| 376 |
release_summary: | |
| 377 |
This release is a maintenance release. |
| 378 |
bugfixes: |
| 379 |
- 684 - mongodb_shell / Rework escapre_param to work on Python 3.13. |
| 380 |
- 689 - mongodb_mongod & mongodb_config - Make version compare Jinja2 filter more robust to work across Python versions. |
| 381 |
1.7.10: |
| 382 |
release_summary: | |
| 383 |
This release is a maintenance release. |
| 384 |
minor_changes: |
| 385 |
- 695 - mongodb_linux - New method for managing THP (#697). |
| 386 |
- 696 & 703 - Minor documentation improvements. |
| 387 |
1.7.11: |
| 388 |
release_summary: | |
| 389 |
This release is a maintenance release. |
| 390 |
bugfixes: |
| 391 |
- 707 - mongodb_shutdown - Remove unused excess variable. |
| 392 |
- 722 - mongodb_replicaset - Fix typo in secondaryDelaySecs. |
| 393 |
- 724 - mongodb_repository - Role - add support of ARM architecture. |
| 394 |
- 725 - mongodb_repository - Role - Update app key setup method. |
| 395 |
- 727 - Various roles - Use full module paths. |
| 396 |
- 725 - mongodb_repository - Role - Fix role for MongoDB 8.2 installation. |
| 397 |
minor_changes: |
| 398 |
- 721 - mongodb_replicaset - replica_set needs to be empty to leverage localhost exception. Docs improvement. |
| 399 |
1.7.12: |
| 400 |
release_summary: | |
| 401 |
This release is a maintenance release. |
| 402 |
bugfixes: |
| 403 |
- 737 - mongodb_replicaset - Update expression breaking when mongodb_version is float. |