Hi, I've tried an scp from and to the AIX host and it works correctly.
The problem seems to be related to sftp : http://docs.ansible.com/intro_configuration.html#scp-if-ssh I have set scp_if_ssh=True in ansible.cfg and the ping module works well now. Thanks for your help ! Michaël Le vendredi 18 juillet 2014 08:20:29 UTC+2, Lucas, Sascha a écrit : > > Hi Michaël, > > > <aix> PUT /tmp/tmpb1NMJ5 TO > /ansible/.ansible/tmp/ansible-tmp-1405515992.16-30163890915163/ping > > > > aix | FAILED => failed to transfer file to > /ansible/.ansible/tmp/ansible-tmp-1405515992.16-30163890915163/ping: > > Couldn't read packet: Connection reset by peer > > On peer reset, the chance is high to find some hints in the AIX system > logs... > > It seems, that "scp" is failing, where ansible tries to copy the ping > module over to your AIX. Mostly this is the case, when you have some "ugly" > login-scripts, that write something to stdout even in non interactive > session (like scp uses). You should check by hand, if scp to AIX works. > > Sometimes we have a similar problem, when remote user is root. I couldn't > find the cause, but using "-c paramiko" helped. > > Thanks, Sascha. > > Stellvertretender Vorsitzender des Aufsichtsrates: Detlef Hillebrand > Geschäftsführung: Michael Krüger > Sitz der Gesellschaft: Halle/Saale > Registergericht: Amtsgericht Stendal | Handelsregister-Nr. HRB 208414 > UST-ID-Nr. DE 158253683 > > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte > Informationen. Wenn Sie nicht der richtige Empfänger sind oder diese E-Mail > irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und > vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte > Weitergabe dieser Mail oder des Inhalts dieser Mail sind nicht gestattet. > Diese Kommunikation per E-Mail ist nicht gegen den Zugriff durch Dritte > geschützt. Die GISA GmbH haftet ausdrücklich nicht für den Inhalt und die > Vollständigkeit von E-Mails und den gegebenenfalls daraus entstehenden > Schaden. Sollte trotz der bestehenden Viren-Schutzprogramme durch diese > E-Mail ein Virus in Ihr System gelangen, so haftet die GISA GmbH - soweit > gesetzlich zulässig - nicht für die hieraus entstehenden Schäden. > > -- 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/b7ea0c3e-a1e2-4331-9972-ae97a385d5db%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
