X-Git-Url: https://git.tld-linux.org/?p=packages%2Fansible.git;a=blobdiff_plain;f=poldek.patch;fp=poldek.patch;h=37d2a10e55ac96f8c7e796e43997a0466c571d2d;hp=0000000000000000000000000000000000000000;hb=870abe4e7fb61ded053d794a9f391727c4ae90ce;hpb=6f93ef0abdc76e1e009b11ce17b9ba78707285a8 diff --git a/poldek.patch b/poldek.patch new file mode 100644 index 0000000..37d2a10 --- /dev/null +++ b/poldek.patch @@ -0,0 +1,13 @@ +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 @@ + # 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/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'},