package_facts

Collection: builtin

Full Name: parallax.builtin.package_facts

Aliases: ansible.builtin.package_facts, package_facts

Synopsis

Manage package facts

Parameters

NameTypeRequiredDefaultDescription
managerlist[auto]The package managers to use Choices: auto, rpm, yum, dnf, apt, portage, pkgng, openbsd_pkg, pacman, apk
strategystringfirstThis option controls how the module queries the package managers Choices: first, all

Example

- name: Example package_facts task
  package_facts:
    manager: auto
    strategy: first