The documentation for the cache plugin, community.mongodb.mongodb, was malformed.
The errors were:
1 validation error for PluginDocSchema doc -> __root__ Cannot specify dict_keys(['cache']) if `name` has been specified. (type=value_error)
File a bug with the community.mongodb collection in order to have it corrected.
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/mongodb/mongodb_cache.html