<!---
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release, and master branch are affected too.
-->

##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Bug Report
 

##### COMPONENT NAME
<!--- Name of the module/plugin/task/feature -->
/etc/ansible/ec2.py


##### ANSIBLE VERSION
<!--- Paste verbatim output from “ansible --version” between quotes below 
-->
```
ansible --version
ansible 2.3.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
```

##### CONFIGURATION
<!---
Mention any settings you have changed/added/removed in ansible.cfg
(or using the ANSIBLE_* environment variables).
-->remote_user = root
#remote_user = ubuntu

##### OS / ENVIRONMENT
<!---
Mention the OS you are running Ansible from, and the OS you are
managing, or say “N/A” for anything that is not platform-specific.
-->cat /etc/issue
Amazon Linux AMI release 2016.09
Kernel \r on an \m

##### SUMMARY
<!--- Explain the problem briefly -->
i am configuring ansible for our aws environment. brief about our setup, we 
have 30 + vpcs with 100 s of hosts and in daily operations , we use ssh 
proxy i.e from ssh (mac)--> to jumpbox --> bastion -- > destination server 
as a abc-user.
i installed ansible on one of ec2 and created the dynamic inventory file 
using /etc/ansible/ec2.py.
but i cant ssh to any node. 

ansible -m ping all
 [WARNING]: provided hosts list is empty, only localhost is available

 [WARNING]: No hosts matched, nothing to do

ls -l hosts
-rw-r--r-- 1 root root 1331374 Dec 17 00:32 hosts 


##### EXPECTED RESULTS
<!--- What did you expect to happen when running the steps above? -->

 ping all the servers in our account.
please let me know if any security group or pem keys file used for each vpc.

-- 
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/6705d4da-1edd-4b63-9468-fde1c74ddf99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to