Hey all,

I'm having an issue using the aws_ec2 inventory plugin and I can't seem to 
find a solution.

ansible 2.8.1
  config file = /home/jwallace/nxt-devops/ansible/ansible.cfg
  configured module search path = 
[u'/home/jwallace/.ansible/plugins/modules', 
u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/dist-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.13 (default, Sep 26 2018, 18:42:22) [GCC 6.3.0 
20170516]

production.aws_ec2.yml
plugin: aws_ec2
aws_profile: production
cache: no
regions:
  - us-east-1

~/.aws/credentials
[default]
aws_access_key_id = <same as production>
aws_secret_access_key = <same as production>

[production]
aws_access_key_id = VALUE
aws_secret_access_key = SECRET

Running on Debian Stretch.

# ansible-inventory -i ./production.aws_ec2.yml --list

 [WARNING]:  * Failed to parse /path/to/production.aws_ec2.yml with aws_ec2
plugin: __init__() got an unexpected keyword argument 'cert_file'

 [WARNING]: Unable to parse /path/to/production.aws_ec2.yml as an inventory
source

 [WARNING]: No inventory was parsed, only implicit localhost is available


I don't know where the cert_file argument is coming from!   Any help?

-- 
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/7003f788-ef66-41a9-91f8-e01497532cec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to