Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 384 Bytes

File metadata and controls

24 lines (16 loc) · 384 Bytes

setup Module

Gather current host information, which is the underlying implementation of gather_facts in playbooks.

Parameters

No additional parameters.

Examples

1. Enable gather_facts in playbook

- name: playbook
  hosts: localhost
  gather_facts: true

2. Explicitly call setup in task

- name: setup
  setup: {}