Hi all,
Iam new bee to Ansible tower, When iam running this module in
tower it shows me permission denied.My credentials for aws are correct and
it autheticates successfully in tower .But When loading this module it
shows something like this :+1:
---
- name: keypair creation
ec2_key:
name: "jake"
region: us-west-2
register: output
Here i exported my aws credentials
**My result:**
localhost> ESTABLISH LOCAL CONNECTION FOR USER: awx
fatal: [localhost]: FAILED! => {"changed": false, "failed": true,
"invocation": {"module_name": "ec2_key"}, "module_stderr": "/bin/sh:
/usr/bin/sudo: Permission denied\n", "module_stdout": "", "msg": "MODULE
FAILURE", "parsed": false}
NO MORE HOSTS LEFT
*************************************************************
EXPECTED RESULTS:
Need to create keypair ..
I have also tried with become, become_user , become_method.But for all of
that iam getting a same error.Also its a cloud module of ansible only.Then
why iam facing this issue,whether iam missing any???
Thanks
--
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/303e43fc-6669-4144-bf5b-7d4e0c52554a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.