Some playbooks/roles require facts from machines other than the target. The `facts.yml` playbook can be used to gather facts from machines without running any other tasks.
7 lines
100 B
YAML
7 lines
100 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: clear facts
|
|
meta: clear_facts
|
|
- hosts: all
|
|
gather_facts: true
|