"doesn't work" isn't really helpful for debugging, while exact error output (preferably with -vvv) would go a long way to see what the issue really is.
'shared connection closed' is the 'generic' response from the sshd services on the remote, you might want to see the sshd logging (probably need to up the verbosity) to see exactly whay. -- ---------- Brian Coca -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7dTB6_uR24iVMGrPf2REXf65b3t2JpVzQFFhV47OMubNQ%40mail.gmail.com.
