I think what you want is `ec2.instances` instead of `ec2.results`. You will likely only have the `results` sub key if you are also using something like `with_items` or `with_subelements`. See http://docs.ansible.com/ansible/playbooks_loops.html#using-register-with-a-loop for an explanation of register + looping, where it creates a `results` key.
On Tue, May 24, 2016 at 12:40 PM, Eric S <[email protected]> wrote: > does anyone know or have a clue why ec2.results wouldn't be populated? > > -- > 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/9d992af6-de61-468b-b92e-a144600c8129%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/9d992af6-de61-468b-b92e-a144600c8129%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Matt Martz @sivel sivel.net -- 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/CAD8N0v9pdK81A4ddpN1Ji%3D6EGpmaSmgkUL4VAcm4etLtcnFmrQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
