When I add that debut task I get the output of the hosts that are in the ec2 var. So its registering correctly because I can see all of the variables held inside of the ec2 var.
On Thursday, May 19, 2016 at 2:54:37 AM UTC-5, Johannes Kastl wrote: > > On 18.05.16 19:38 Eric S wrote: > > when using ec2.results in a task i'm getting: > > [DEPRECATION WARNING]: Skipping task due to undefined Error, in the > future > > this will be a fatal error.: 'dict object' has no attribute > > 'results'. > > You have no results in your dict ec2, apparently. Maybe you are > registering the variable in the wrong way? > > Try adding a task before the one that fails: > > - debug: var=ec2 > > > And check, what the output is... > > Johannes > > > -- 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/276c6cd8-27db-4dbb-bde0-2cfc41d1defb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
