Re: [ansible-project] How to run local play with remote inventory?

2017-02-09 Thread Brian Coca
- hosts: all connection: local ^ the play will loop over the ec2 hosts but all actions will be on the controller, unless you have overrides in inventory. -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscrib

[ansible-project] How to run local play with remote inventory?

2016-08-25 Thread Daniel Q. Miranda
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,