mirror of https://github.com/ansible/ansible.git
package_facts fix empty packages on foreign mgr (#83855)
* package_facts fix empty packages on foreign mgr
return the first package manager that provides output
add tests with fake rpm on apt machines
(cherry picked from commit e404bc17f7
)
pull/84301/head
parent
3766ea2a8c
commit
dcd8c58f2e
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- package_facts module when using 'auto' will return the first package manager found that provides an output, instead of just the first one, as this can be foreign and not have any packages.
|
Loading…
Reference in New Issue