package_facts
Collection: builtin
Full Name: parallax.builtin.package_facts
Aliases: ansible.builtin.package_facts, package_facts
Synopsis
Manage package facts
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| manager | list | [auto] | The package managers to use Choices: auto, rpm, yum, dnf, apt, portage, pkgng, openbsd_pkg, pacman, apk | |
| strategy | string | first | This option controls how the module queries the package managers Choices: first, all |
Example
- name: Example package_facts task
package_facts:
manager: auto
strategy: first