Comments (6)
Hi @javierm,
Thanks for your prompt reply.
I haven't tried on Ubuntu 20.04. I can try to update the OS and see what happens.
Thanks,
from installer.
Hi, @joausaga π.
That's strange π€. Could you run ansible-playbook
using the -vvv
flag, and paste the last part of the output (starting with the "Detect rubies" task)?
from installer.
Hi @javierm,
Yes, here you have
TASK [galaxy/rvm.ruby : Detect rubies] ***********************************************************************************************************************************************************************************************************
task path: /Users/user/consul/installer/galaxy/rvm.ruby/tasks/rubies.yml:3
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'echo ~deploy && sleep 0'"'"''
<site.edu.es> (0, b'/homedtic/deploy\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /homedtic/deploy/.ansible/tmp `"&& mkdir "` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843 `" && echo ansible-tmp-1701786564.660747-62064-53558141543843="` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843 `" ) && sleep 0'"'"''
<site.edu.es> (0, b'ansible-tmp-1701786564.660747-62064-53558141543843=/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /usr/local/Cellar/ansible/9.0.1/libexec/lib/python3.12/site-packages/ansible/modules/command.py
<site.edu.es> PUT /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp2lffn3lz TO /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py
<site.edu.es> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' '[site.edu.es]'
<site.edu.es> (0, b'sftp> put /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp2lffn3lz /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py\n', b'OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/Users/user/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/Users/user/.ssh/known_hosts2\'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Sending SSH2_FXP_REALPATH "."\r\ndebug3: Sent message fd 3 T:16 I:1\r\ndebug3: SSH2_FXP_REALPATH . -> /home/deploy\r\ndebug3: Looking up /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp2lffn3lz\r\ndebug2: Sending SSH2_FXP_STAT "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py"\r\ndebug3: Sent message fd 3 T:17 I:2\r\ndebug1: stat remote: No such file or directory\r\ndebug2: do_upload: upload local "/Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp2lffn3lz" to remote "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py"\r\ndebug2: Sending SSH2_FXP_OPEN "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py"\r\ndebug3: Sent dest message SSH2_FXP_OPEN I:3 P:/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py M:0x001a\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:7 O:65536 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:8 O:98304 S:31031\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 32768 bytes at 32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 7 32768 bytes at 65536\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 8 31031 bytes at 98304\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'chmod u+x /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/ /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' -tt site.edu.es '/bin/sh -c '"'"'/usr/bin/python3 /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'\r\n{"changed": true, "stdout": "ruby-3.0.6", "stderr": "", "rc": 0, "cmd": ["~/.rvm/bin/rvm", "list", "strings"], "start": "2023-12-05 15:29:25.458283", "end": "2023-12-05 15:29:25.726263", "delta": "0:00:00.267980", "msg": "", "invocation": {"module_args": {"_raw_params": "~/.rvm/bin/rvm list strings", "_uses_shell": false, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to site.edu.es closed.\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'rm -f -r /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786564.660747-62064-53558141543843/ > /dev/null 2>&1 && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [site.edu.es] => changed=false
cmd:
- ~/.rvm/bin/rvm
- list
- strings
delta: '0:00:00.267980'
end: '2023-12-05 15:29:25.726263'
invocation:
module_args:
_raw_params: ~/.rvm/bin/rvm list strings
_uses_shell: false
argv: null
chdir: null
creates: null
executable: null
expand_argument_vars: true
removes: null
stdin: null
stdin_add_newline: true
strip_empty_ends: true
msg: ''
rc: 0
start: '2023-12-05 15:29:25.458283'
stderr: ''
stderr_lines: <omitted>
stdout: ruby-3.0.6
stdout_lines: <omitted>
TASK [galaxy/rvm.ruby : Install rubies] **********************************************************************************************************************************************************************************************************
task path: /Users/user/consul/installer/galaxy/rvm.ruby/tasks/rubies.yml:8
skipping: [site.edu.es] => changed=false
skipped_reason: No items in the list
TASK [galaxy/rvm.ruby : Detect default ruby version] *********************************************************************************************************************************************************************************************
task path: /Users/user/consul/installer/galaxy/rvm.ruby/tasks/rubies.yml:12
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'echo ~deploy && sleep 0'"'"''
<site.edu.es> (0, b'/homedtic/deploy\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /homedtic/deploy/.ansible/tmp `"&& mkdir "` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769 `" && echo ansible-tmp-1701786565.970314-62073-76938792383769="` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769 `" ) && sleep 0'"'"''
<site.edu.es> (0, b'ansible-tmp-1701786565.970314-62073-76938792383769=/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /usr/local/Cellar/ansible/9.0.1/libexec/lib/python3.12/site-packages/ansible/modules/command.py
<site.edu.es> PUT /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp1mxrnj02 TO /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py
<site.edu.es> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' '[site.edu.es]'
<site.edu.es> (0, b'sftp> put /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp1mxrnj02 /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py\n', b'OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/Users/user/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/Users/user/.ssh/known_hosts2\'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Sending SSH2_FXP_REALPATH "."\r\ndebug3: Sent message fd 3 T:16 I:1\r\ndebug3: SSH2_FXP_REALPATH . -> /home/deploy\r\ndebug3: Looking up /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp1mxrnj02\r\ndebug2: Sending SSH2_FXP_STAT "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py"\r\ndebug3: Sent message fd 3 T:17 I:2\r\ndebug1: stat remote: No such file or directory\r\ndebug2: do_upload: upload local "/Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp1mxrnj02" to remote "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py"\r\ndebug2: Sending SSH2_FXP_OPEN "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py"\r\ndebug3: Sent dest message SSH2_FXP_OPEN I:3 P:/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py M:0x001a\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:7 O:65536 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:8 O:98304 S:31037\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 32768 bytes at 32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 7 32768 bytes at 65536\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 8 31037 bytes at 98304\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'chmod u+x /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/ /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' -tt site.edu.es '/bin/sh -c '"'"'/usr/bin/python3 /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'\r\n{"changed": true, "stdout": "", "stderr": "", "rc": 0, "cmd": ["~/.rvm/bin/rvm", "alias", "list", "default"], "start": "2023-12-05 15:29:26.865988", "end": "2023-12-05 15:29:27.161318", "delta": "0:00:00.295330", "msg": "", "invocation": {"module_args": {"_raw_params": "~/.rvm/bin/rvm alias list default", "_uses_shell": false, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to site.edu.es closed.\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'rm -f -r /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786565.970314-62073-76938792383769/ > /dev/null 2>&1 && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [site.edu.es] => changed=false
cmd:
- ~/.rvm/bin/rvm
- alias
- list
- default
delta: '0:00:00.295330'
end: '2023-12-05 15:29:27.161318'
invocation:
module_args:
_raw_params: ~/.rvm/bin/rvm alias list default
_uses_shell: false
argv: null
chdir: null
creates: null
executable: null
expand_argument_vars: true
removes: null
stdin: null
stdin_add_newline: true
strip_empty_ends: true
msg: ''
rc: 0
start: '2023-12-05 15:29:26.865988'
stderr: ''
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
TASK [galaxy/rvm.ruby : Select default ruby] *****************************************************************************************************************************************************************************************************
task path: /Users/user/consul/installer/galaxy/rvm.ruby/tasks/rubies.yml:17
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'echo ~deploy && sleep 0'"'"''
<site.edu.es> (0, b'/homedtic/deploy\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /homedtic/deploy/.ansible/tmp `"&& mkdir "` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972 `" && echo ansible-tmp-1701786567.390423-62081-175550099539972="` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972 `" ) && sleep 0'"'"''
<site.edu.es> (0, b'ansible-tmp-1701786567.390423-62081-175550099539972=/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /usr/local/Cellar/ansible/9.0.1/libexec/lib/python3.12/site-packages/ansible/modules/command.py
<site.edu.es> PUT /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp06odg0i7 TO /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py
<site.edu.es> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' '[site.edu.es]'
<site.edu.es> (0, b'sftp> put /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp06odg0i7 /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py\n', b'OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/Users/user/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/Users/user/.ssh/known_hosts2\'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Sending SSH2_FXP_REALPATH "."\r\ndebug3: Sent message fd 3 T:16 I:1\r\ndebug3: SSH2_FXP_REALPATH . -> /home/deploy\r\ndebug3: Looking up /Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp06odg0i7\r\ndebug2: Sending SSH2_FXP_STAT "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py"\r\ndebug3: Sent message fd 3 T:17 I:2\r\ndebug1: stat remote: No such file or directory\r\ndebug2: do_upload: upload local "/Users/user/.ansible/tmp/ansible-local-616160coq_33w/tmp06odg0i7" to remote "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py"\r\ndebug2: Sending SSH2_FXP_OPEN "/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py"\r\ndebug3: Sent dest message SSH2_FXP_OPEN I:3 P:/homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py M:0x001a\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:7 O:65536 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:8 O:98304 S:31051\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 32768 bytes at 32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 7 32768 bytes at 65536\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 8 31051 bytes at 98304\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'chmod u+x /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/ /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 61625\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' -tt site.edu.es '/bin/sh -c '"'"'/usr/bin/python3 /homedtic/deploy/.ansible/tmp/ansible-tmp-1701786567.390423-62081-175550099539972/AnsiballZ_command.py && sleep 0'"'"''
Thanks,
from installer.
@joausaga Thanks, we'll have a look.
By the way, does the same thing happen using Ubuntu 20.04? Note that Ubuntu 18.04 is no longer supported because it's past its long-term support time.
from installer.
Hi @javierm,
I tried the installer on Ubuntu 20.04, and it gets stuck on the task Install rubies
. Below, I'm pasting the output.
TASK [galaxy/rvm.ruby : Detect rubies] *********************************************************************************************************************************************************************************************************
task path: /Users/user/consul/installer/galaxy/rvm.ruby/tasks/rubies.yml:3
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'echo ~deploy && sleep 0'"'"''
<site.edu.es> (0, b'/homedtic/deploy\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 12376\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /homedtic/deploy/.ansible/tmp `"&& mkdir "` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105 `" && echo ansible-tmp-1702300767.5765069-12604-65214736175105="` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105 `" ) && sleep 0'"'"''
<site.edu.es> (0, b'ansible-tmp-1702300767.5765069-12604-65214736175105=/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 12376\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /usr/local/Cellar/ansible/9.0.1/libexec/lib/python3.12/site-packages/ansible/modules/command.py
<site.edu.es> PUT /Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmp2y92xy4b TO /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py
<site.edu.es> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' '[site.edu.es]'
<site.edu.es> (0, b'sftp> put /Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmp2y92xy4b /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py\n', b'OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/Users/user/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/Users/user/.ssh/known_hosts2\'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 12376\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Sending SSH2_FXP_REALPATH "."\r\ndebug3: Sent message fd 3 T:16 I:1\r\ndebug3: SSH2_FXP_REALPATH . -> /home/deploy\r\ndebug3: Looking up /Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmp2y92xy4b\r\ndebug2: Sending SSH2_FXP_STAT "/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py"\r\ndebug3: Sent message fd 3 T:17 I:2\r\ndebug1: stat remote: No such file or directory\r\ndebug2: do_upload: upload local "/Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmp2y92xy4b" to remote "/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py"\r\ndebug2: Sending SSH2_FXP_OPEN "/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py"\r\ndebug3: Sent dest message SSH2_FXP_OPEN I:3 P:/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py M:0x001a\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:7 O:65536 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:8 O:98304 S:31033\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 32768 bytes at 32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 7 32768 bytes at 65536\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 8 31033 bytes at 98304\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'chmod u+x /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/ /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 12376\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' -tt site.edu.es '/bin/sh -c '"'"'/usr/bin/python3 /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'\r\n{"changed": true, "stdout": "", "stderr": "", "rc": 0, "cmd": ["~/.rvm/bin/rvm", "list", "strings"], "start": "2023-12-11 14:19:28.428151", "end": "2023-12-11 14:19:28.687167", "delta": "0:00:00.259016", "msg": "", "invocation": {"module_args": {"_raw_params": "~/.rvm/bin/rvm list strings", "_uses_shell": false, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 12376\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to site.edu.es closed.\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'rm -f -r /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300767.5765069-12604-65214736175105/ > /dev/null 2>&1 && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 12376\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [site.edu.es] => changed=false
cmd:
- ~/.rvm/bin/rvm
- list
- strings
delta: '0:00:00.259016'
end: '2023-12-11 14:19:28.687167'
invocation:
module_args:
_raw_params: ~/.rvm/bin/rvm list strings
_uses_shell: false
argv: null
chdir: null
creates: null
executable: null
expand_argument_vars: true
removes: null
stdin: null
stdin_add_newline: true
strip_empty_ends: true
msg: ''
rc: 0
start: '2023-12-11 14:19:28.428151'
stderr: ''
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
TASK [galaxy/rvm.ruby : Install rubies] ********************************************************************************************************************************************************************************************************
task path: /Users/user/consul/installer/galaxy/rvm.ruby/tasks/rubies.yml:8
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'echo ~deploy && sleep 0'"'"''
<site.edu.es> (0, b'/homedtic/deploy\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 12376\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /homedtic/deploy/.ansible/tmp `"&& mkdir "` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635 `" && echo ansible-tmp-1702300768.915509-12612-129507838049635="` echo /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635 `" ) && sleep 0'"'"''
<site.edu.es> (0, b'ansible-tmp-1702300768.915509-12612-129507838049635=/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635\n', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 12376\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /usr/local/Cellar/ansible/9.0.1/libexec/lib/python3.12/site-packages/ansible/modules/command.py
<site.edu.es> PUT /Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmpe9i0rxtv TO /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py
<site.edu.es> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' '[site.edu.es]'
<site.edu.es> (0, b'sftp> put /Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmpe9i0rxtv /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py\n', b'OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/Users/user/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/Users/user/.ssh/known_hosts2\'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 12376\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Sending SSH2_FXP_REALPATH "."\r\ndebug3: Sent message fd 3 T:16 I:1\r\ndebug3: SSH2_FXP_REALPATH . -> /home/deploy\r\ndebug3: Looking up /Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmpe9i0rxtv\r\ndebug2: Sending SSH2_FXP_STAT "/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py"\r\ndebug3: Sent message fd 3 T:17 I:2\r\ndebug1: stat remote: No such file or directory\r\ndebug2: do_upload: upload local "/Users/user/.ansible/tmp/ansible-local-12072knesfrdu/tmpe9i0rxtv" to remote "/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py"\r\ndebug2: Sending SSH2_FXP_OPEN "/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py"\r\ndebug3: Sent dest message SSH2_FXP_OPEN I:3 P:/homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py M:0x001a\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:7 O:65536 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:8 O:98304 S:31040\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 32768 bytes at 32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 7 32768 bytes at 65536\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 8 31040 bytes at 98304\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' site.edu.es '/bin/sh -c '"'"'chmod u+x /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/ /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py && sleep 0'"'"''
<site.edu.es> (0, b'', b"OpenSSH_9.0p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 12376\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<site.edu.es> ESTABLISH SSH CONNECTION FOR USER: deploy
<site.edu.es> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/Users/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="deploy"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/Users/user/.ansible/cp/272bc594dd"' -tt site.edu.es '/bin/sh -c '"'"'/usr/bin/python3 /homedtic/deploy/.ansible/tmp/ansible-tmp-1702300768.915509-12612-129507838049635/AnsiballZ_command.py && sleep 0'"'"''
Thanks,
from installer.
Hi, @joausaga π.
Sorry for the late reply π.
I'm afraid I'm not that great at debugging SSH sessions, and I can't even find the key error in the log you've posted π€.
Could you confirm whether manually installing ruby on the server works? If it doesn't, it might be an issue with the server's SSH/network configuration π€.
from installer.
Related Issues (20)
- Error running rails console HOT 1
- Install Error SSH Key HOT 2
- Error al modificar estilos y subir imagenes HOT 2
- Do I need this installer? HOT 3
- Capistrano Deployment Error HOT 15
- Installer fails on gem install HOT 12
- TASK [rails : Precompile assets] aborted. RuntimeError HOT 9
- the remote end hung up unexpectedly HOT 6
- Adding Certbot ppa fails for Ubuntu 20.04 HOT 2
- Problem of validate account HOT 1
- Support Ubuntu 22.04 HOT 6
- Capistrano deployment HOT 3
- Public Key not being recognized HOT 1
- Automatically restart delayed job processes when they stop HOT 1
- Allow using a separate database server
- Debian buster broken CI configuration HOT 2
- Missing packages - sudo, gnupg, lsb-release HOT 3
- 422 The change you wanted was rejected HOT 5
- First Capistrano update fails `mkdir: cannot create directory β/home/deployβ: Permission denied` Ubuntu 20.04 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installer.