https://docs.ansible.com/ansible/latest/modules/setup_module.html
Also run this adhoc command to gather info about all your hosts at once, then check which variables can be used for IP related information: #ansible all -m setup | less On Thu, 2 May 2019 at 14:18, <[email protected]> wrote: > Can you give me a documentation? > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/28a049df-af53-44ac-943b-cf3e623f6aa8%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/28a049df-af53-44ac-943b-cf3e623f6aa8%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAKbF63hBXDSrwmtsaC2X9GDsCmx2vmmD0U2_-Grvm8F8f9WKKQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
