-diff -ur ansible-2.8.0.orig/lib/ansible/module_utils/facts/system/pkg_mgr.py ansible-2.8.0/lib/ansible/module_utils/facts/system/pkg_mgr.py
---- ansible-2.8.0.orig/lib/ansible/module_utils/facts/system/pkg_mgr.py 2019-06-21 22:50:15.462000000 +0200
-+++ ansible-2.8.0/lib/ansible/module_utils/facts/system/pkg_mgr.py 2019-06-21 22:51:42.117000000 +0200
-@@ -13,7 +13,8 @@
+-diff -ur ansible-2.16.2.orig/lib/ansible/module_utils/facts/system/pkg_mgr.py ansible-2.16.2/lib/ansible/module_utils/facts/system/pkg_mgr.py
+--- ansible-2.16.2.orig/lib/ansible/module_utils/facts/system/pkg_mgr.py 2023-12-11 21:48:58.000000000 +0100
++++ ansible-2.16.2/lib/ansible/module_utils/facts/system/pkg_mgr.py 2024-01-07 20:19:31.342969058 +0100
+@@ -15,7 +15,8 @@
# A list of dicts. If there is a platform with more than one
# package manager, put the preferred one last. If there is an
# ansible module, use that as the value for the 'name' key.
--PKG_MGRS = [{'path': '/usr/bin/yum', 'name': 'yum'},
+-PKG_MGRS = [{'path': '/usr/bin/rpm-ostree', 'name': 'atomic_container'},
+PKG_MGRS = [{'path': '/usr/bin/poldek', 'name': 'poldek'},
-+ {'path': '/usr/bin/yum', 'name': 'yum'},
- {'path': '/usr/bin/dnf', 'name': 'dnf'},
- {'path': '/usr/bin/apt-get', 'name': 'apt'},
- {'path': '/usr/bin/zypper', 'name': 'zypper'},
++ {'path': '/usr/bin/rpm-ostree', 'name': 'atomic_container'},
+ {'path': '/usr/bin/yum', 'name': 'yum'},
+
+ # NOTE the `path` key for dnf/dnf5 is effectively discarded when matched for Red Hat OS family,