Hi all!
I have a question regarding the connection method and LYX/Turney servers.
When using paramiko as the engine for ssh connection, the process hang indefinitely
I am using the latest version of ansible. The connection works fine with the default ssh connection method.
Could someone tell me what I am doing wrong?
Steps to Reproduce
ansible_host file
turnkey ansible_host=192.168.0.37 ansible_ssh_user=XXXX ansible_ssh_pass=XXXXX ansible_ssh_extra_args=‘-o StrictHostKeyChecking=no’ ansible_connection=‘paramiko’
CLI:
ansible all -m ping -i ansible_host -vvvvv
Logs:
ansible [core 2.17.3]
config file = /Users/manu/prometheus/ansible.cfg
configured module search path = [‘/Users/manu/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’]
ansible python module location = /opt/homebrew/Cellar/ansible/10.3.0/libexec/lib/python3.12/site-packages/ansible
ansible collection location = /Users/manu/.ansible/collections:/usr/share/ansible/collections
executable location = /opt/homebrew/bin/ansible
python version = 3.12.5 (main, Aug 6 2024, 19:08:49) [Clang 15.0.0 (clang-1500.3.9.4)] (/opt/homebrew/Cellar/ansible/10.3.0/libexec/bin/python)
jinja version = 3.1.4
libyaml = True
Using /Users/manu/prometheus/ansible.cfg as config file
setting up inventory plugins
Loading collection ansible.builtin from
host_list declined parsing /Users/manu/prometheus/ansible_host as it did not pass its verify_file() method
script declined parsing /Users/manu/prometheus/ansible_host as it did not pass its verify_file() method
auto declined parsing /Users/manu/prometheus/ansible_host as it did not pass its verify_file() method
Parsed /Users/manu/prometheus/ansible_host inventory source with ini plugin
Loading callback plugin minimal of type stdout, v2.0 from /opt/homebrew/Cellar/ansible/10.3.0/libexec/lib/python3.12/site-packages/ansible/plugins/callback/minimal.py
Attempting to use ‘default’ callback.
Skipping callback ‘default’, as we already have a stdout callback.
Attempting to use ‘junit’ callback.
Attempting to use ‘minimal’ callback.
Skipping callback ‘minimal’, as we already have a stdout callback.
Attempting to use ‘oneline’ callback.
Skipping callback ‘oneline’, as we already have a stdout callback.
Attempting to use ‘tree’ callback.
<192.168.0.37> ESTABLISH PARAMIKO SSH CONNECTION FOR USER: root on PORT 22 TO 192.168.0.37
<192.168.0.37> EXEC /bin/sh -c ‘echo ~root && sleep 0’
<192.168.0.37> EXEC /bin/sh -c ‘( umask 77 && mkdir -p “echo /root/.ansible/tmp
”&& mkdir “echo /root/.ansible/tmp/ansible-tmp-1724237718.298739-17896-136876148523985
” && echo ansible-tmp-1724237718.298739-17896-136876148523985=“echo /root/.ansible/tmp/ansible-tmp-1724237718.298739-17896-136876148523985
” ) && sleep 0’
Including module_utils file ansible/init.py
Including module_utils file ansible/module_utils/init.py
Including module_utils file ansible/module_utils/basic.py
Including module_utils file ansible/module_utils/_text.py
Including module_utils file ansible/module_utils/common/_utils.py
Including module_utils file ansible/module_utils/common/init.py
Including module_utils file ansible/module_utils/common/arg_spec.py
Including module_utils file ansible/module_utils/common/file.py
Including module_utils file ansible/module_utils/common/locale.py
Including module_utils file ansible/module_utils/common/parameters.py
Including module_utils file ansible/module_utils/common/collections.py
Including module_utils file ansible/module_utils/common/process.py
Including module_utils file ansible/module_utils/common/sys_info.py
Including module_utils file ansible/module_utils/common/text/converters.py
Including module_utils file ansible/module_utils/common/text/init.py
Including module_utils file ansible/module_utils/common/text/formatters.py
Including module_utils file ansible/module_utils/common/validation.py
Including module_utils file ansible/module_utils/common/warnings.py
Including module_utils file ansible/module_utils/compat/selinux.py
Including module_utils file ansible/module_utils/compat/init.py
Including module_utils file ansible/module_utils/distro/init.py
Including module_utils file ansible/module_utils/distro/_distro.py
Including module_utils file ansible/module_utils/errors.py
Including module_utils file ansible/module_utils/parsing/convert_bool.py
Including module_utils file ansible/module_utils/parsing/init.py
Including module_utils file ansible/module_utils/pycompat24.py
Including module_utils file ansible/module_utils/six/init.py
Attempting python interpreter discovery
<192.168.0.37> EXEC /bin/sh -c ‘echo PLATFORM; uname; echo FOUND; command -v ‘"’“‘python3.12’”’“'; command -v '”‘“‘python3.11’”’“'; command -v '”‘“‘python3.10’”’“'; command -v '”‘“‘python3.9’”’“'; command -v '”‘“‘python3.8’”’“'; command -v '”‘“‘python3.7’”’“'; command -v '”‘"’/usr/bin/python3’“'”‘; command -v ‘"’“‘python3’”’"‘; echo ENDFOUND && sleep 0’
Python interpreter discovery fallback (pipelining support required for extended interpreter discovery)
Using module file /opt/homebrew/Cellar/ansible/10.3.0/libexec/lib/python3.12/site-packages/ansible/modules/ping.py
<192.168.0.37> PUT /Users/manu/.ansible/tmp/ansible-local-178948a3ty1x1/tmpy7anxht1 TO /root/.ansible/tmp/ansible-tmp-1724237718.298739-17896-136876148523985/AnsiballZ_ping.py
<192.168.0.37> EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1724237718.298739-17896-136876148523985/ /root/.ansible/tmp/ansible-tmp-1724237718.298739-17896-136876148523985/AnsiballZ_ping.py && sleep 0’