-
Notifications
You must be signed in to change notification settings - Fork 154
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 module not recognizing remote ssh key #24
Labels
bug
This issue/PR relates to a bug.
Comments
I believe this is a continuation of this old issue: ansible/ansible#46126 that still haunts me and means I have to run a |
ansible-zuul bot
added a commit
that referenced
this issue
Jul 14, 2021
synchronize: quotes around arguments fix quoting for specific cmd arguments Fixes: #24 #190 ISSUE TYPE: Bugfix Pull Request COMPONENT NAME: module: synchronize Reviewed-by: Abhijeet Kasurde <None> Reviewed-by: Robert Rettig <None> Reviewed-by: Hideki Saito <[email protected]> Reviewed-by: Mike Graves <[email protected]>
1 task
1 task
This was referenced Aug 19, 2022
This was referenced Sep 14, 2022
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
I am attempting to synchronize in push mode a couple of directories from one remote host (A) to a second remote host (B). The rsync command shown in ansible's output works as expected when run on remote host A.
ISSUE TYPE
COMPONENT NAME
Synchronize module
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Ansible host: Ubuntu 18.04
Remote hosts: Ubuntu 18.04
STEPS TO REPRODUCE
EXPECTED RESULTS
A successful rsync from the delegated remote host to remote host B
ACTUAL RESULTS
It appears that the ssh key to be used for connecting from remote host A to remote host B cannot be found. However, the given rsync command runs as expected when run as {{ ansible_user }} on the delegated host (after including quotes around the --out-format).
The text was updated successfully, but these errors were encountered: