Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

synchronize hangs infinitely with delegate_to and when it can't login with ssh key #590

Open
malformed-c opened this issue Nov 8, 2024 · 0 comments
Labels
synchronize Issue and PR for synchronize module

Comments

@malformed-c
Copy link

Related #219 but it seems abandoned

SUMMARY

Use synchronize to copy from remote to remote with delegate_to, but when ssh key is not copied synchronize just hangs infinitely, the workaround is to set timeout (what about big files) but I think it should fail with error

ISSUE TYPE
  • Bug Report
COMPONENT NAME

synchronize

ANSIBLE VERSION
ansible [core 2.18.0]
  config file = None
  configured module search path = ['/home/engi/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.12/site-packages/ansible
  ansible collection location = /home/engi/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.12.7 (main, Oct  1 2024, 11:15:50) [GCC 14.2.1 20240910] (/usr/bin/python)
  jinja version = 3.1.4
  libyaml = True

COLLECTION VERSION

# /usr/lib/python3.12/site-packages/ansible_collections
Collection    Version
------------- -------
ansible.posix 1.6.2  

CONFIGURATION
CONFIG_FILE() = None

GALAXY_SERVERS:

OS / ENVIRONMENT

Arch Linux, target Ubuntu

STEPS TO REPRODUCE

use synchronize to copy remote to remote, but don't copy ssh keys

EXPECTED RESULTS

Fail with error

ACTUAL RESULTS

Hangs indefinitely


@malformed-c malformed-c changed the title synchronize hangs infinitely with delegate_to and can't login with ssh key synchronize hangs infinitely with delegate_to and when it can't login with ssh key Nov 12, 2024
@saito-hideki saito-hideki added the synchronize Issue and PR for synchronize module label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
synchronize Issue and PR for synchronize module
Projects
None yet
Development

No branches or pull requests

2 participants