how to get Host IPs

19 views
Skip to first unread message

SarathChandra Bhaskara

unread,
May 17, 2019, 3:49:07 AM5/17/19
to Ansible Project
hi,

this is sarath, i have a group with 2 ips. i want to populate those 2 IPs once by one in ansible content module. how can i do that.

i used {{ ansible_facts["eth0"]["ipv4"]["address"] }} but in the content file i m getting only one ip not 2 ips in content module. can some one help in this regard.
 
Reply all
Reply to author
Forward
0 new messages