New in version 2.5.
The package manager used by the system so we can query the package information
- name: get the rpm package facts package_facts: manager: "auto" - name: show them debug: var=ansible_facts.packages
Facts returned by this module are added/updated in the
hostvars host facts and can be referenced by name just like any other host fact. They do not need to be registered in order to use them.
|when operating system level package manager is specified or auto detected manager||
list of dicts with package information