nobest option doesn't work in ansible.builtin.dnf

Posted on

Hello,

I tried to use nobest option according to the: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/dnf_module.html

we have:

=========

nobest
boolean

added in ansible-core 2.11

Set best option to False, so that transactions are not limited to best candidates only.

Choices:

false ← (default)

true

=========

but when I added it, I got:

{"changed": false, "msg": "Unsupported parameters for (ansible.builtin.dnf) module: nobest Supported parameters include: allow_downgrade, autoremove, bugfix, conf_file, disable_excludes, disable_gpg_check, disable_plugin, disablerepo, download_dir, download_only, enable_plugin, enablerepo, exclude, install_repoquery, install_weak_deps, installroot, list, lock_timeout, name, releasever, security, skip_broken, state, update_cache, update_only, validate_certs"

Maybe someone experinced such problem and could advise?
Thank you

Responses