Am Mittwoch, 12. Februar 2020 23:46:21 UTC+1 schrieb Vladimir Botka: > > On Wed, 12 Feb 2020 13:00:55 -0800 (PST) > Matthias Steffens <[email protected] <javascript:>> wrote: > > > I'm looking for an method by which I can have a look on all of my > > 'Ansible-Clients' for an specific IP-Address. > > Try this > > - hosts: all > gather_facts: true > tasks: > - debug: > var: ansible_all_ipv4_addresses > > HTH, > > -vlado >
Hi vlado, thanks for your reply. But I'm looking for an method to grep for an Ip-address which is set in any configuration file on every of my 'Ansible-Clients. Do you also have an idea how I can configure this with Ansible? Regards, Matthias -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5ea08527-3526-4efe-ac72-0dac1a09ddce%40googlegroups.com.
