I don't remember exactly what the issue was, but are you trying to use --ask-pass (or ansible_ssh_pass) when you have ssh-key auth set up? I do that every once in a while, and Ansible tries to force password authentication, rather than try ssh-key, then drop to password auth. When that happens, a similar error pops up for me. Or at least it used to. Been a while...
--David Reagan On Tue, Jul 7, 2015 at 1:57 AM, Anthony Green < [email protected]> wrote: > >> GATHERING FACTS >> *************************************************************** >> fatal: [hostname.edu] => Authentication or permission failure. In some >> cases, you may have been able to authenticate and did not have permissions >> on the remote directory. Consider changing the remote temp path in >> ansible.cfg to a path rooted in "/tmp". Failed command was: mkdir -p >> $HOME/.ansible/tmp/ansible-1382136077.67-208472098868660 && chmod a+rx >> $HOME/.ansible/tmp/ansible-1382136077.67-208472098868660 && echo >> $HOME/.ansible/tmp/ansible-1382136077.67-208472098868660, exited with >> result 6 >> TASK: [update apt cache] >> ****************************************************** >> FATAL: no hosts matched or all hosts have already failed -- aborting >> >> I'm seeing this error after a previous ansible-playbook to install a > docker container failed > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Ansible Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ansible-project/oj6hr5YY5hE/unsubscribe. > To unsubscribe from this group and all its topics, 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/891f9494-7527-4535-a86b-73ba1bb278b3%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/891f9494-7527-4535-a86b-73ba1bb278b3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CANo%2B_AcHmyNzG0m3u7PG39CMxwcZ17aT8%3DFLXY6x3BJ2rq00Ow%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
