mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
fix order of dnf api operations so transactions don't fail (#50038)
* fix order of dnf api operations so transactions don't fail Previously dnf.base.fill_sack() was called before dnf.base.update_cache() which apparently breaks dnf transaction logic as per https://bugzilla.redhat.com/show_bug.cgi?id=1658694 Fixes #49060 Signed-off-by: Adam Miller <admiller@redhat.com> * add changelog and test case Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
dnf:
|
||||
name: sos
|
||||
state: present
|
||||
update_cache: True
|
||||
register: dnf_result
|
||||
|
||||
- name: check sos with rpm
|
||||
|
||||
Reference in New Issue
Block a user