geerlingguy / ansible-role-redis

Ansible Role - Redis
https://galaxy.ansible.com/geerlingguy/redis/
MIT License
254 stars 197 forks source link

i am ruuning my ansible code i got this error #31

Closed Madhav1217 closed 6 years ago

Madhav1217 commented 6 years ago

fatal: [13.127.200.142]: FAILED! => {"failed": true, "msg": "Unable to create local directories(/home/ubuntu/.ansible/cp): [Errno 13] Permission denied: '/home/ubuntu/.ansible/cp'"}

geerlingguy commented 6 years ago

It looks like this is a problem with your permissions for your user account; can you do anything with Ansible playbooks? I would suggest opening an issue or asking a question in a broader forum, like the Ansible Project mailing list on Google Groups, or on stack exchange. You will need to list out what kind of playbook you were running it, where you were running it, more playbook output (e.g. what task actually failed), etc.

sprashanthraj commented 4 years ago

"msg": "Unable to create local directories(/home/ubuntu/.ansible/cp): [Errno 13] Permission denied: '/home/ubuntu/.ansible/cp'"

I have the same issue while i am trying to ping the node from Ansible server

sprashanthraj commented 4 years ago

well, i dint run any YML file, before that i am struck with this issue.

sprashanthraj commented 4 years ago

[WARNING]: Unable to set correct type for configuration entry: DEFAULT_LOCAL_TMP

[WARNING]: * Failed to parse /etc/ansible/hosts with yaml plugin: Syntax Error while loading YAML. did not find expected The error appears to have been in '/etc/ansible/hosts': line 21, column 1, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: [client] Node1 172.31.19.69 ^ here

[WARNING]: * Failed to parse /etc/ansible/hosts with ini plugin: /etc/ansible/hosts:21: Expected key=value host variable assignment, got: 172.31.19.69

[WARNING]: Unable to parse /etc/ansible/hosts as an inventory source

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

[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

[WARNING]: Could not match supplied host pattern, ignoring: 172.31.19.69