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 module doesn`t work as expected #561

Open
LLIycTpbIu opened this issue Aug 19, 2024 · 0 comments
Open

Synchronize module doesn`t work as expected #561

LLIycTpbIu opened this issue Aug 19, 2024 · 0 comments
Labels
synchronize Issue and PR for synchronize module

Comments

@LLIycTpbIu
Copy link

LLIycTpbIu commented Aug 19, 2024

SUMMARY

I`m trying to play that:

    - name: copy images
      synchronize:
        mode: pull
        src: rsync://10.47.252.70/var/lib/libvirt/images/
        dest: /var/lib/libvirt/images/

and getting that kind of error:

"msg": "rsync: [Receiver] failed to connect to 10.47.252.70 (10.47.252.70): Connection timed out (110)\nrsync error: error in socket IO (code 10) at clientserver.c(139) [Receiver=3.2.7]\n"

image

btw, when I copy/paste command to terminal, it works fine
rsync --delay-updates -F --compress --archive --out-format='<<CHANGED>>%i %n%L' rsync://10.47.252.70/var/lib/libvirt/images/ /var/lib/libvirt/images/

ANSIBLE VERSION

2.16.10

COLLECTION VERSION

ansible.posix 1.5.4

EXPECTED RESULTS

It works

ACTUAL RESULTS

It fails with error:

@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