On 06.02.17 21:03 Shiyan Cao wrote:

> Does anyone know why I'm getting the error? SSH connection is 
> working fine.

> fatal: [xxxxxx]: FAILED! => {"failed": true, "msg": "failed to
> resolve remote temporary directory from
> ansible-tmp-1486411214.9-201171589973071: `mkdir -p \"` echo 
> $HOME/.ansible/tmp/ansible-tmp-1486411214.9-201171589973071 `\" &&
> echo \"` echo
> $HOME/.ansible/tmp/ansible-tmp-1486411214.9-201171589973071 `\"` 
> returned empty string"}

Does using an ad-hoc ping work?

ansible -m ping foobar
(where foobar is your target hostname)

If yes, run your playbook with -v (or even -vvv) to get some more output.

Johannes

-- 
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/2392989e-d95d-72c1-c71e-d306990e5ca0%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to