i am using ansible 2.1.0.0, when i execute a playbook against ec2 console i
am finding this error
Error:
FAILED! => {"changed": false, "failed": true, "invocation":
{"module_args": {"assign_public_ip": false, "aws_access_key": null,
"aws_region": "us-east-1", "aws_secret_key": null, "count": 1, "count_tag":
null, "ebs_optimized": false, "ec2_url": null, "exact_count": null,
"group": null, "group_id": null, "id": null, "image": null, "instance_ids":
["i-ba508d26", "i-bda01c21"], "instance_profile_name": null,
"instance_tags": null, "instance_type": null, "kernel": null, "key_name":
null, "monitoring": false, "network_interfaces": null, "placement_group":
null, "private_ip": null, "profile": null, "ramdisk": null, "region":
"us-east-1", "security_token": null, "source_dest_check": true,
"spot_launch_group": null, "spot_price": null, "spot_type": "one-time",
"spot_wait_timeout": "600", "state": "running", "tenancy": "default",
"termination_protection": false, "user_data": null, "validate_certs": true,
"volumes": null, "vpc_subnet_id": null, "wait": false, "wait_timeout":
"300", "zone": null}, "module_name": "ec2"}, "msg": "No handler was ready
to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your
credentials"}
<https://lh3.googleusercontent.com/-vm3BhzWytBI/V2A94HN5CTI/AAAAAAAAAAM/YyopgP6HSF4mSW5_VQvwEGQNLBW2UqjygCLcB/s1600/bashrc.PNG>
<https://lh3.googleusercontent.com/-79_FCYXrHig/V2A963xTE5I/AAAAAAAAAAU/RTPZnR6t_DEtXE9c-nUr_5ogzttIb-TwACLcB/s1600/Capture%2B1.PNG>
it seems like it is happening because of environment variables not set
properly but i have set the environment variables and still not working
with environment variables set up in my .bashrc file.
--
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/7a9f6d41-5d2f-4407-a887-7670862522ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.