I'm having a very simple requirement but I have a tough time to make it
work....
Basically I have a list like this:
MACHINES:
[ { name: "Test1", ip: "192.168.1.100"},
{ name: "Test2", ip: "192.168.1.101"},
]
I then query AWS to get a list of machines back in a registered variable.
What I want to do is to loop over this this registered variable to get
InstanceID for any matching host with my MACHINES, then tag it with the
Name in MACHINES. Can anyone advise on how I can achieve this?
Thanks,
Stanley
--
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/0a11a8c8-0cfb-43b2-8f89-a30cfff6ec94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.