Perfect! I have removed the connection=local from the play and now all works as expected. I guess I don't fully understand why connection=local should be used. When I was first starting with ansible plays that I studied that did ec2 stuff used it, so I did too.
-- 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/83cf0da5-10ea-42ac-8277-848445bfcef1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
