-
Notifications
You must be signed in to change notification settings - Fork 148
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: Remote source path is prefixed with current working directory #165
Labels
bug
This issue/PR relates to a bug.
has_pr
needs_info
verified
This issue has been verified/reproduced by maintainer
waiting_on_contributor
Needs help. Feel free to engage to get things unblocked
Comments
Hi @rafal-1990, I think this problem has been addressed in #118. Therefore, if it is possible, can you test with the latest version ansible.posix 1.2.0 ? I have confirmed the similar issues and it is fixed in the latest version 1.2.0:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
This issue/PR relates to a bug.
has_pr
needs_info
verified
This issue has been verified/reproduced by maintainer
waiting_on_contributor
Needs help. Feel free to engage to get things unblocked
SUMMARY
I try to synchronize (pull) a directory to localhost. I don't have console access to the remote host but
/usr/bin/rsync -av -e ssh [email protected]:/path/to/sync/ /home/user/backup
works.On the remote host no rsync-deamon is running/allowed. So
/usr/bin/rsync -av -e ssh rsync:https://[email protected]:/path/to/sync/ /home/user/backup
results in:I also get above error if I specify the src path in the synchronize task like:
rsync:https://[email protected]:/path/to/sync/
So I specified the src of synchronize task like:
[email protected]:/path/to/sync/
.But this path seems to be treated as a local relative path.
If this behavior is really expected, please treat this report as feature request and please advice how to solve this sync task in another way.
ISSUE TYPE
COMPONENT NAME
synchronize
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Linux Mint 20.1
STEPS TO REPRODUCE
EXPECTED RESULTS
I expect rsync over ssh
ACTUAL RESULTS
src
was interpreted as relative local path (and current working directory was prefixed)The text was updated successfully, but these errors were encountered: