I’m having a very simple problem but I find it quite tough to achieve in Ansible. Basically I have a list of machine’s IP address with a description:
[{ ip: “192.168.10.10”, desc: “test1”}, { ip: “192.168.10.11”, desc: “test2”}]
I then query AWS to get the instance IDs + internal IP addresses. I want to tag these instances with the “desc” in my list. What’s the best way to achieve this?
Thanks
Stanley