mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Ensure that apt is always chosen on debian/ubuntu (#44413)
One can install alternate packages managers on debuntu machines. However, doing so doesn't mean you want to suddenly start using them. Add in a check similar to the fedora yum/dnf check that sets apt as the pkg_mgr if the ansible_os_family is Debian.
This commit is contained in:
4
changelogs/fragments/zypper-on-ubuntu.yaml
Normal file
4
changelogs/fragments/zypper-on-ubuntu.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
bugfixes:
|
||||
- Fixed an issue where ``ansible_facts.pkg_mgr`` would incorrectly set
|
||||
to ``zypper`` on Debian/Ubuntu systems that happened to have the
|
||||
command installed.
|
||||
Reference in New Issue
Block a user