Fixed by adding this in ansible.cfg:

[ssh_connection]
scp_if_ssh=True

On Sunday, November 22, 2015 at 1:26:24 PM UTC+2, Amir Luzon wrote:
>
> Hey guys,
>
> We are experiencing an issue with one of our servers. This happens during 
> the gather facts task. I am not a systems guy so i'm not sure what is going 
> on here.
>
> GATHERING FACTS 
> ***************************************************************
> <LDSB-COH04> ESTABLISH CONNECTION FOR USER: deploy_rn
> <LDSB-COH04> REMOTE_MODULE setup CHECKMODE=True
> <LDSB-COH04> EXEC ssh -C -tt -vvv -o StrictHostKeyChecking=no -o 
> KbdInteractiveAuthentication=no -o 
> PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey 
> -o PasswordAuthentication=no -o User=deploy_rn -o ConnectTimeout=10 
> LDSB-COH04 /bin/sh -c 'mkdir -p 
> $HOME/.ansible/tmp/ansible-tmp-1448191353.32-199010706409322 && chmod a+rx 
> $HOME/.ansible/tmp/ansible-tmp-1448191353.32-199010706409322 && echo 
> $HOME/.ansible/tmp/ansible-tmp-1448191353.32-199010706409322'
> <LDSB-COH04> PUT /tmp/tmpV2JSGP TO 
> /home/jajah.dublin/deploy_rn/.ansible/tmp/ansible-tmp-1448191353.32-199010706409322/setup
> fatal: [LDSB-COH04] => failed to transfer file to 
> /home/jajah.dublin/deploy_rn/.ansible/tmp/ansible-tmp-1448191353.32-199010706409322/setup:
>
> Connecting to LDSB-COH04...
> #######################################################################
> ##                                                                   ##
> ## Authorized uses only. All activity may be monitored and reported. ##
> ##                                                                   ##
> #######################################################################
>
> #######################################################################
> subsystem request failed on channel 0
> Couldn't read packet: Connection reset by peer
>
>
> Any assistance is welcome :)
>

-- 
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/615f96b5-b568-412c-bb87-a5353a29159d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to