Sobes.tech
Junior

When are facts executed in Ansible?

sobes.tech AI

Answer from AI

Facts in Ansible are gathered by default at the beginning of each playbook run for all hosts defined in the target. If fact gathering is disabled (gather_facts: no), they are not collected. They can also be explicitly gathered using the setup module.