mirror of https://github.com/ansible/ansible.git
dnf,dnf5 - add the best option and fix nobest (#82627)
best/nobest options are one of the options whose default values are set by an OS distribution. For example in our CI, both Fedora and RHEL set the best option to different default values. As such we should defer to the distributions for the default value and not change it by default but if users wish to change it they can do so explicitly. Currently the dnf module sets the nobest option inconsistenly and not for all cases. This patch fixes that to reflect the behavior described above. In addition adding the best option for both dnf and dnf5 modules since the best option is prefer to nobest in dnf while in dnf5 nobest is completely removed in favor of best. Fixes #82616pull/82641/head
parent
e458cbac61
commit
a10d255e0b
@ -0,0 +1,6 @@
|
||||
minor_changes:
|
||||
- dnf - add the ``best`` option
|
||||
- dnf5 - add the ``best`` option
|
||||
bugfixes:
|
||||
- dnf - the ``nobest`` option only overrides the distribution default when explicitly used, and is used for all supported operations (https://github.com/ansible/ansible/issues/82616)
|
||||
- dnf5 - the ``nobest`` option only overrides the distribution default when used
|
Loading…
Reference in New Issue