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/e5cfcf95-0307-41ea-8ca3-b8df2cb1a4d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to