mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
YUM4/DNF compatibility via yum action plugin (#44322)
* YUM4/DNF compatibility via yum action plugin DNF does not natively support allow_downgrade as an option, instead that is always the default (not configurable by the administrator) so it had to be implemented - Fixed group actions in check mode to report correct changed state - Better error handling for depsolve and transaction errors in DNF - Fixed group action idempotent transactions - Add use_backend to yum module/action plugin - Fix dnf handling of autoremove (didn't used to work nor had a default value specified, now does work and matches default behavior of yum) - Enable installroot tests for yum4(dnf) integration testing, dnf backend now supports that - Switch from zip to bc for certain package install/remove test cases in yum integration tests. The dnf depsolver downgrades python when you uninstall zip which alters the test environment and we have no control over that. - Add changelog fragment - Return a pkg_mgr fact if it was not previously set.
This commit is contained in:
committed by
Toshio Kuratomi
parent
9ff20521d1
commit
397febd343
22
changelogs/fragments/yum4_dnf_yum_action_plugin.yml
Normal file
22
changelogs/fragments/yum4_dnf_yum_action_plugin.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
major_changes:
|
||||
- yum and dnf modules now at feature parity
|
||||
- new yum action plugin enables the yum module to work with both yum3
|
||||
and dnf-based yum4 by detecting the backend package manager and routing
|
||||
commands through the correct Ansible module for that python API
|
||||
- New yumdnf module defines the shared argument specification for both
|
||||
yum and dnf modules and provides an entry point to share code when
|
||||
applicable
|
||||
|
||||
minor_changes:
|
||||
- Fixed group actions in check mode to report correct changed state
|
||||
- Better error handling for depsolve and transaction errors in DNF
|
||||
- Fixed group action idempotent transactions in dnf backend
|
||||
- Add use_backend to yum module/action plugin
|
||||
- Fix dnf handling of autoremove to be compatible with yum
|
||||
- Enable installroot tests for yum4(dnf) integration testing, dnf
|
||||
backend now supports that
|
||||
- Switch from zip to bc for certain package install/remove test
|
||||
cases in yum integration tests. The dnf depsolver downgrades
|
||||
python when you uninstall zip which alters the test environment
|
||||
and we have no control over that.
|
||||
Reference in New Issue
Block a user