fact gathering

The automatic first step of a play that runs the setup module on every host to collect its facts.

In more detail

It shows in the output as a Gathering Facts task you did not write, and it counts in the recap. It costs time on every host, so plays that use no facts should set gather_facts: false. Fact caching can avoid repeating it on every run.

Related terms

Taught in

References

Certification courses