Greetings,

I'm using Ansible 2.1.1.0 to manage EC2 hosts, with the ec2.py inventory 
script.

I want to run a play locally that uses the EC2 inventory to generate 
configuration, but I'm having some trouble. If I use:

hosts: 127.0.0.1
connection: local

I have to manually override the inventory, or the play won't run due to 
having no hosts selected, but then I lose the EC2 inventory data.

Is there a good way to do this?


Regards,
Daniel

-- 
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/bdc80377-bfa5-4dec-98f9-8f17ac6ce5ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to