Debian Codegraph @

ansible_collections/community/mongodb/CHANGELOG.rst

raw
1 ===============================
2 Community.MongoDB Release Notes
3 ===============================
4
5 .. contents:: Topics
6
7 v1.7.12:
8 =========
9
10 Release Summary
11 ----------------
12
13 This release is a maintenance release.
14
15 Bugfixes
16 ---------
17 - 737 - mongodb_replicaset - Update expression breaking when mongodb_version is float.
18
19 v1.7.11:
20 =========
21
22 Release Summary
23 ----------------
24
25 This release is a maintenance release.
26
27 Bugfixes
28 ---------
29 - 707 - mongodb_shutdown - Remove unused excess variable.
30 - 722 - mongodb_replicaset - Fix typo in secondaryDelaySecs.
31 - 724 - mongodb_repository - Role - add support of ARM architecture.
32 - 725 - mongodb_repository - Role - Update app key setup method.
33 - 727 - Various roles - Use full module paths.
34 - 725 - mongodb_repository - Role - Fix role for MongoDB 8.2 installation.
35
36 Minor Changes
37 --------------
38 - 721 - mongodb_replicaset - replica_set needs to be empty to leverage localhost exception. Docs improvement.
39
40 v1.7.10:
41 =========
42
43 Release Summary
44 ----------------
45
46 This release is a maintenance release.
47
48 Minor Changes
49 --------------
50
51 - 695 - mongodb_linux - New method for managing THP (#697).
52 - 696 & 703 - Minor documentation improvements.
53
54 v1.7.9:
55 =========
56
57 Release Summary
58 ----------------
59
60 This release is a maintenance release.
61
62 Bugfixes
63 ---------
64 - 684 - mongodb_shell / Rework escapre_param to work on Python 3.13.
65 - 689 - mongodb_mongod & mongodb_config - Make version compare Jinja2 filter more robust to work across Python versions.
66
67 v 1.7.8:
68 =========
69
70 Release Summary
71 ----------------
72
73 This release is a maintenance release.
74
75 Minor Changes
76 --------------
77
78 - 681 - mongodb_repository - Updates the default of apt_key_url.
79
80 v 1.7.7:
81 =========
82
83 Release Summary
84 ----------------
85
86 This release is a maintenance release.
87
88 Bug Fixes
89 ----------
90
91 - 678 - mongodb_shell - This module did not implement the standard connection_options
92 feature since it is not a pymongo module. This has now been implemented in this module.
93 The connection_options parameter will be parsed, in a similar way to pymongo based modules,
94 and those options will be appended to the mongodb connection url.
95 e.g. mongodb://localhost:3001/test?replicaSet=myReplSet
96
97 Minor Changes
98 --------------
99
100 - 675 & 673 - Minor documentation updates.
101
102 v 1.7.6:
103 =========
104
105 Release Summary
106 ----------------
107
108 This release is a maintenance release.
109
110 Bug Fixes
111 ----------
112
113 - 666 - mongodb_linux - Fix check for Transparent Huge Pages.
114 - 669 - mongodb_common - Replaces readfp function with read_file to support Python 3.12.
115
116 Minor Changes
117 --------------
118
119 - 667 - Several modules - Minor documentation update.
120
121 v1.7.5:
122 =========
123
124 Release Summary
125 ----------------
126
127 This release is a maintenance release.
128
129 Minor Changes
130 -------------
131
132 - 648 - mongodb_auth - make create_for_localhost_exception configurable.
133 - 653 - mongodb_auth - Use mongod_host variable instead of hardcoded localhost.
134 - 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.
135 - 660 - runtime.yml - Adds atlas, mongodb and all action_groups to collection.
136
137 v1.7.4:
138 =========
139
140 Release Summary
141 ----------------
142
143 This release is a maintenance release.
144
145 Minor Changes
146 -------------
147
148 - 644 - mongodb_shell - Add ssl/tls options.
149
150 v1.7.3:
151 =========
152
153 Release Summary
154 ----------------
155
156 This release is a maintenance release.
157
158 Bug Fixes
159 ----------
160
161 - 641 - mongodb_mongod - Add test condition for storage option in mongod.conf template file.
162
163 v1.7.2:
164 =========
165
166 Release Summary
167 ----------------
168
169 This release is a maintenance release.
170
171 Bug Fixes
172 ----------
173
174 - 638 - mongodb_replicaset - Allow module to update replicaset horizons.
175
176 v1.7.1:
177 =========
178
179 Release Summary
180 ----------------
181
182 This release is a maintenance release.
183
184 Bug Fixes
185 ----------
186
187 - 631 - cache/mongodb.py - Support pymongo 4.0+. This plugin no longer support pymongo 3.12.*.
188
189 v1.7.0:
190 =========
191
192 Release Summary
193 ----------------
194
195 This release is a maintenance release.
196
197 Minor Changes
198 --------------
199
200 - 622 - mongodb_mongod - Allow systemd configuration override.
201 - 620 - mongodb_common - Use SSL constants in shared connection code.
202 - 609 - mongodb_mongod, mongodb_mongos, mongodb_config - support for allowConnectionsWithoutCertificates.
203 - 605 - mongodb_mongod, mongodb_mongos, mongodb_config - support for security.disabledProtocols.
204
205 Bug Fixes
206 ----------
207
208 - 614 - mongodb_replicaset - Count voting members based on the sum of "votes" and using a comprehension list.
209 - 611 - mongodb_role - lambda function changed to support non-existing keys.
210
211 Modules
212 ---------
213
214 - 612 - mongodb_atlas_cluster - Manage database clusters in Atlas (#612).
215 - 612 - mongodb_atlas_ldap_user - Manage ldap users in Atlas (#612).
216 - 612 - mongodb_atlas_user - Manage database users in Atlas (#612).
217 - 612 - mongodb_atlas_whitelist - Manage IP whitelists in Atlas (#612).
218
219 v1.6.3:
220 ========
221
222 Release Summary
223 ---------------
224
225 This release is a maintenance release.
226
227 Minor Changes
228 --------------
229
230 - 600 - Remove delete module from README.md.
231 - 601 - mongodb_install - Fix issue with specific_mongodb_version on RedHat OS family.
232
233 v1.6.2:
234 ========
235
236 Release Summary
237 ---------------
238
239 This release is a maintenance release.
240
241 Minor Changes
242 --------------
243
244 - 583 - mongodb_linux - Add vars for RedHat 9 to role.
245 - 586 - mongodb_auth - Add ssl vars to role.
246 - 589 - mongodb_linux - Adds vars to better handle ntp package installation and handling.
247 - 588 - mongodb_linux - Default ntp system to systemd-timesyncd for Debian12.
248 - 593 - mongodb_linux - Add vm.max_map_count = 128000 sysctl config.
249 - 597 - mongodb_monitoring - Module has been deleted as Free Monitoring service has been stopped.
250 - 595 - mongodb_linux - Improvements to transparent_hugepage handling.
251
252 v1.6.1:
253 ========
254
255 Release Summary
256 ---------------
257
258 This release is a maintenance release.
259
260 Minor Changes
261 --------------
262
263 - 578 - mongodb_role - More robust comparison of user roles.
264
265 v1.6.0:
266 ========
267
268 Release Summary
269 ---------------
270
271 This release is a maintenance release.
272
273 Minor Changes
274 --------------
275
276 - 569 - All pymongo modules - Better support for MongoDB Atlas.
277 - 568 - Minor documentation updates.
278
279 v1.5.2
280 =======
281
282 Release Summary
283 ---------------
284
285 This release is a maintenance release.
286
287 Minor Changes
288 --------------
289
290 - 558 mongodb_replicaset - Minor documentation update.
291
292 Bug Fixes
293 ----------
294
295 - 558 mongodb_replicaset - Minor documentation update.
296
297
298 v1.5.1
299 =======
300
301 Release Summary
302 ---------------
303
304 This release is a maintenance release.
305
306
307 Bug Fixes
308 ----------
309
310 - 534 mongodb_selinux - Reinstall SELinux policy when changed.
311
312 v1.5.0
313 =======
314
315 Release Summary
316 ---------------
317
318 This release is a maintenance release.
319
320 Minor Changes
321 --------------
322
323 - 544 mongodb_replicaset - Module documentation improvements.
324 - 494 mongodb_shutdown - Fix examples block.
325 - 491 mongodb_shell - Add feature to detect if mongo or mongosh is available.
326 - 530 mongodb_role - Adds new module to manage MongoDB roles.
327 - 547 mongodb_repository - Bump default of MongoDB to 6.0.
328 - 536 mongodb_auth - Add user after enabling authentication.
329 - 528 multiple roles - Use first ip address when multiple bind IPs provided.
330 - 524 mongodb_auth - Add supports for Amazon Linux 2.
331 - 514 mongodb_linux - Remove extended FQCN for pam_limits.
332 - 511 mongodb_auth - Adds support for deletion of users.
333 - 494 mongodb_auth - Removes module_defaults from role.
334
335 Bug Fixes
336 ----------
337
338 - 540 mongodb_replicaset - replicaset member priority updates.
339 - 488 mongodb_info - Better handling of json data types.
340
341 Modules
342 --------
343
344 - 533 - mongodb_role - Manage MongoDB User Roles-
345
346 v1.4.2
347 =======
348
349 Release Summary
350 ---------------
351
352 This release is a maintenance release.
353
354 Minor Changes
355 --------------
356
357 - 483 - Removes previous upper bound restriction for communiry.general collection,
358 - 483 - Use extended FQCN for pam_limits (community.general.system.pam_limits instead of community.general.pam_limits).
359
360 v1.4.1
361 =======
362
363 Release Summary
364 ---------------
365
366 This release is a maintenance release.
367
368 Minor Changes
369 --------------
370
371 - 474 - Adds log_path parameter to mongodb_mongod, mongodb_mongos and mongodb_config roles.
372
373 Bugfixes
374 --------
375
376 - 479 - mongodb_shell - Correct supports_check_mode value. Used to be true, which is wrong, now false.
377
378 v1.4.0
379 =======
380
381 Release Summary
382 ---------------
383
384 This release is a maintenance release.
385 Pymongo versions 3.12.* or 4.* are now required.
386 MongoDB version 4+ are also required but can be overriden if desired.
387
388 Major Changes
389 ---------------
390
391 - 470 - Removes depreciated distutils package and require Pymongo 3.12+ and MongoDB 4+
392 Adds a new parameter strict_compatibility (default true).
393 Set to false to disable Pymongo and MongoDB requirements.
394
395 v1.3.4
396 =======
397
398 Release Summary
399 ---------------
400
401 This release is a maintenance release.
402
403 Bug Fixes
404 ---------
405
406 - 466 & 467 - Fixes localhost exception bug due to directConnection parameter in newer pymongo versions.
407
408 v1.3.3
409 =======
410
411 Release Summary
412 ---------------
413
414 This release is a maintenance release.
415
416 Bug Fixes
417 ---------
418
419 - 448 - Fix issue in roles where mongod does not restart when a custom bind_ip is set.
420 - 440 - Fix incorrect alias ssl_crlfile.
421 - 450 - Fix issues with mongodb_replicaset connecting with the pymongo 4.0.X driver.
422
423 Minor Changes
424 ---------------
425
426 - 450 - mongodb_replicaset. Introduce cluster_cmd parameter. Can be set to isMaster or hello.
427 Hello is the default. isMaster is useful for older versions of MongoDB.
428 See [db.hello()](https://www.mongodb.com/docs/manual/reference/method/db.hello/) for more.
429
430 v1.3.2
431 =======
432
433 Release Summary
434 ---------------
435
436 This release is a maintenance release.
437
438 Minor Changes
439 ---------------
440
441 - 413 - mongodb_shell - Adds escape_param function that will work better across various python versions.
442 - 414-416 - Minor documentation improvements.
443 - 411 - mongodb_shell - FIx missing db parameter when fiel parmeter is used.
444 - 403 - Make db path configurable in roles.
445 - 401 - mongodb_replicaset - Add further examples.
446 - 399 - Removes unused imports from modules.
447 - 396 - Add tags to roles.
448 - 387 - Fix doucmentation for mongod cache plugin.
449
450 Major Changes
451 ---------------
452
453 - 397 & 376 - mongodb_replicaset - Add reconfigure abilities to module. Add and removes members from replicasets.
454
455 v1.3.1
456 ======
457
458 Release Summary
459 ---------------
460
461 This release is a maintenance release. The GitHub CI has been updated to include MongoDB 5.0 as well
462 as a few new features. The mongosh shell is now supported in the mongodb_shell module. Support for the
463 old mongo shell will be removed in a future release.
464
465 Minor Changes
466 -------------
467
468 - 360 - mongodb_shell - Adds support for the mongosh shell now available with MongoDB 5.0.
469 - 368 - mongodb_shell - Use shlex escape function.
470 - 370 - mongodb_install - Adds mongodb_hold_packages variable. Runs the lock_mongodb_packages.sh script
471 to either lock mongodb-org packages at a specific version or to release the lock.
472 Set to "HOLD" or "NOHOLD" as desired. No checks are made to see if the hold already exists or not.
473 By default this variable is undefined and the script is not executed.
474 The task is executed at the end and it is possible that packages could be upgraded
475 before the lock is initially applied.
476
477 Deprecated Features
478 -------------------
479
480 - mongodb_shell - Support for the mongo shell is deprecated and will be removed in a future version.
481
482 v1.3.0
483 ======
484
485 Release Summary
486 ---------------
487
488 This release improves sharded cluster management, and adds schema validator management.
489 Several bug fixes improve compatibility with python3.6.
490
491
492 Minor Changes
493 -------------
494
495 - 338 - role monogdb_repository - Variablize repository details.
496 - 345 - roles mongodb_config, mongodb_mongod, mongodb_mongos - Make security.keyFile configurable.
497 - 346 - roles mongodb_config, mongodb_mongod, mongodb_mongos - Allow using net.bindIpAll instead of net.bindIp.
498 - 347 - roles mongodb_config, mongodb_mongod, mongodb_mongos - Allow overriding net.compression.compressors in mongo*.conf
499
500 Security Fixes
501 --------------
502
503 - 312 - Set no_log True for ssl_keyfile.
504
505 Bugfixes
506 --------
507
508 - 315 - Fix exception handling for mongodb_stepdown module on python3.6
509 - 320 - Fix exception handling for modules mongodb_balancer, mongodb_shard, and mongodb_status.
510 - 352 - Add ansible.posix collection to dependencies list.
511
512 New Modules
513 -----------
514
515 - community.mongodb.mongodb_monitoring - Manages the free monitoring feature.
516 - community.mongodb.mongodb_schema - Manages MongoDB Document Schema Validators.
517 - community.mongodb.mongodb_shard_tag - Manage Shard Tags.
518 - community.mongodb.mongodb_shard_zone - Manage Shard Zones.
519
520 v1.2.1
521 ======
522
523 Minor Changes
524 -------------
525
526 - 304 - Adds validate parameter to mongodb_status module.
527
528 v1.2.0
529 ======
530
531 Release Summary
532 ---------------
533
534 A variety of idempotency and reliability improvements.
535
536
537 Bugfixes
538 --------
539
540 - 281 - mongodb_linux Fixes disable-transparent-huge-pages.service idempotency.
541 - 282 - Add restart handler, and bool variable to control to mongofb_config/mongod/mongos roles.
542 - 285 - Output users and roles dict by database to avoid overwriting entries.
543 - 287 - Fixes return value on older versions of MongoDB.
544 - 290 - Adds pseudo-idempotency feature to module.
545
546 v1.1.2
547 ======
548
549 Bugfixes
550 --------
551
552 - 252 - Fix config template override in various roles.
553 - 255 - Add replica_set param to mongodb_index module.
554 - 264 - Only add force parameter to shutdown command when set to true.
555 - 275 - Use OrderedDict class in the following modules, mongodb_balancer, mongodb_oplog, mongodb_shutdown.
556
557 v1.1.1
558 ======
559
560 Bugfixes
561 --------
562
563 - 235 - Fix namespace.
564
565 v1.1.0
566 ======
567
568 Release Summary
569 ---------------
570
571 This release adds the mongodb_shell module and the mongodb_auth role.
572
573
574 New Modules
575 -----------
576
577 - community.mongodb.mongodb_shell - Run commands via the MongoDB shell.
578
579 New Roles
580 ---------
581
582 - community.mongodb.mongodb_auth - Configure auth on MongoDB servers.
583
584 v1.0.0
585 ======
586
587 Release Summary
588 ---------------
589
590 The first stable release of the commmunity.mongodb collection.
591 Many of the plugins and modules were previously released in ansible itself.
592
593
594 New Plugins
595 -----------
596
597 Cache
598 ~~~~~
599
600 - community.mongodb.mongodb - This cache uses per host records saved in MongoDB.
601
602 Lookup
603 ~~~~~~
604
605 - community.mongodb.mongodb - The ``MongoDB`` lookup runs the *find()* command on a given *collection* on a given *MongoDB* server.
606
607 New Modules
608 -----------
609
610 - community.mongodb.mongodb_balancer - Manages the MongoDB Sharded Cluster Balancer.
611 - community.mongodb.mongodb_index - Creates or drops indexes on MongoDB collections.
612 - community.mongodb.mongodb_info - Gather information about MongoDB instance.
613 - community.mongodb.mongodb_maintenance - Enables or disables maintenance mode for a secondary member.
614 - community.mongodb.mongodb_oplog - Resizes the MongoDB oplog.
615 - community.mongodb.mongodb_parameter - Change an administrative parameter on a MongoDB server
616 - community.mongodb.mongodb_replicaset - Initialises a MongoDB replicaset.
617 - community.mongodb.mongodb_shard - Add or remove shards from a MongoDB Cluster
618 - community.mongodb.mongodb_shutdown - Cleans up all database resources and then terminates the mongod/mongos process.
619 - community.mongodb.mongodb_status - Validates the status of the cluster.
620 - community.mongodb.mongodb_stepdown - Step down the MongoDB node from a PRIMARY state.
621 - community.mongodb.mongodb_user - Adds or removes a user from a MongoDB database
622
623 New Roles
624 ---------
625
626 - community.mongodb.mongodb_config - Configure the CSRS Config Server Replicaset for a MongoDB sharded cluster. (Use mongodb_mongod for Standalone installations - this does not create mongo.conf)
627 - community.mongodb.mongodb_install - Install MongoDB packages on Debian and RedHat based platforms.
628 - community.mongodb.mongodb_linux - A simple role to configure Linux Operating System settings, as advised in the MongoDB Production Notes.
629 - community.mongodb.mongodb_mongod - Configure the mongod service (includes populating mongod.conf) which is a MongoDB replicaset or standalone server.
630 - community.mongodb.mongodb_mongos - Configure the mongos service (includes populating mongos.conf) which only runs in a sharded MongoDB cluster.
631 - community.mongodb.mongodb_repository - Configures a package repository for MongoDB on Debian and RedHat based platforms.
632 - community.mongodb.mongodb_selinux - Configure SELinux for MongoDB.