Perfecting fact gathering in Ansible
second edition
A long time ago (way before delegate_facts
become a feature) I wrote about some clever hacks for gathering IP addresses of remote servers. Ansible has been developed a lot since then. Less clever hacks are needed…