Explore Facts with the setup Module
Dump and browse a host's fact tree.
The Fact Collector
The hidden Gathering Facts step is really one module doing the work: the setup module. You can call it yourself to explore. 🌟
Run setup Ad-Hoc
Point an ad-hoc command at a host with -m setup to dump its full fact tree right to your terminal.
ansible host1 -m setupAll lessons in this course
- What Facts Are & Why They Matter
- Explore Facts with the setup Module
- Use ansible_facts in Tasks
- Disabling Fact Gathering for Speed