Skip to content

fix(roles/_common): package_facts to gather details from all managers#771

Merged
SuperQ merged 2 commits intoprometheus-community:mainfrom
vicekumar:main
Apr 9, 2026
Merged

fix(roles/_common): package_facts to gather details from all managers#771
SuperQ merged 2 commits intoprometheus-community:mainfrom
vicekumar:main

Conversation

@vicekumar
Copy link
Copy Markdown
Contributor

@vicekumar vicekumar commented Apr 3, 2026

Minor fix to package_facts gathering when there are multiple package managers installed on the target system.

The default behaviour is to only use the first match from the supported package managers (see: ansible.builtin.package_facts) which may cause missing variable failures if the package manager is unsupported by the target system itself or does not return any values.

Signed-off-by: vicekumar <hpatel.personal@gmail.com>
@github-actions github-actions bot added bugfix and removed bugfix labels Apr 8, 2026
@SuperQ SuperQ merged commit eb663d8 into prometheus-community:main Apr 9, 2026
1898 of 1903 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

Docs Build 📝

Thank you for contributing!✨

This PR has been merged and the docs are now incorporated into main:
https://prometheus-community.github.io/ansible/branch/main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment