facts: Add PB to force fetching facts

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.
btop
Dustin 2022-12-22 14:50:26 -06:00
parent 10344b07c7
commit 6b4b18dac8
1 changed files with 6 additions and 0 deletions

6
facts.yml Normal file
View File

@ -0,0 +1,6 @@
- hosts: all
tasks:
- name: clear facts
meta: clear_facts
- hosts: all
gather_facts: true