While there are probably other suggestions people would offer up, I'd probably consider tagging your redis machines "redis", that way it will automatically make a group of them, and they will be easier to manage.
On Mon, Jun 2, 2014 at 2:09 PM, Damjan Georgievski <[email protected]> wrote: > > > On Monday, June 2, 2014 5:43:07 PM UTC+2, Michael Peters wrote: >> >> If you have a redis group of servers you can do something like: >> >> {% for host in groups['redis'] %} >> {{ hostvars[host].ansible_default_ipv4.address }} >> {% endfor %} >> > > I'm using the 'ec2.py' inventory script and it doesn't report or group the > elasticache instances. > > -- > damjan > > -- > 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/9cd24067-ecb2-469c-b967-6788334233e2%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/9cd24067-ecb2-469c-b967-6788334233e2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgw4%3D%3DRZ7yeycoCsWky7jgvFPeoPpO-ZX7abmWMsK-j7%3Dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
