Andrew Edelstein,

am trying to get only IP addr and I have used " 
ansible_default_ipv4.address " and its working. Thanks for sharing 
additional information on this.

Cheers!


On Wednesday, December 2, 2015 at 11:12:03 AM UTC-6, saikrish...@gmail.com 
wrote:
>
> Can any one please help me how can I write a script to fetch its own IP 
> Address.
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a2c802e0-e322-4978-9ad8-48db2b4c3551%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to