It seems that there is already an open bug
: https://github.com/ansible/ansible/issues/9984
On Tuesday, 3 February 2015 15:37:08 UTC, Pradeep Bhadani wrote:
>
> I am trying to use ec2_tag in my playbook and it failes with Authetication
> error " No handler was ready to authenticate. 1 handlers were checked.
> ['QuerySignatureV2AuthHandler'] Check your credentials".
> I have set my AWS keys with Environment variables with all combination -
> access key : AWS_ACCESS_KEY , AWS_ACCESS_KEY_ID , EC2_ACCESS_KEY
> secret access key : AWS_SECRET_ACCESS_KEY , AWS_SECRET_KEY ,
> EC2_SECRET_KEY
>
>
>
> However , If i supply my credentials key with ec2_tag like below , it
> works:
> ec2_tag: resource={{ ansible_ec2_instance_id }} region={{
> ansible_ec2_placement_region }} state=present *ec2_access_key*=XXXXXXXXXXX
> *ec2_secret_key*=XXXXXXXXXXXX
>
> Clearly , it is not good practice pass credentials keys with code.
>
> Does anyone faces same problem or have any clue why its failing?
>
>
--
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/50c24d4e-5541-4cbc-8633-3b36f277dfd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.