PARALLAX

setup

Collect facts about the target host

Collection: builtin

Full Name: parallax.builtin.setup

Aliases: ansible.builtin.setup, setup

Synopsis

Collect facts about the target host

Parameters

NameTypeRequiredDefaultDescription
gather_subsetlist[all]If supplied, restrict the additional facts collected to the given subset
gather_timeoutint10Set the default timeout in seconds for individual fact gathering
filterlistIf supplied, only return facts that match one of the shell-style (fnmatch) patterns
fact_pathstringPath used for local ansible facts (*.fact)

Example

yaml
- name: Gather only the network facts
  setup:
    gather_subset:
      - network

- name: Gather facts matching a filter
  setup:
    filter: ansible_eth*
Search
    ↑ ↓ move↵ openesc close