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

adding rsync to use synchronize ansible module #62

Open
juan-cabrera opened this issue Jul 3, 2018 · 3 comments
Open

adding rsync to use synchronize ansible module #62

juan-cabrera opened this issue Jul 3, 2018 · 3 comments

Comments

@juan-cabrera
Copy link

Hi,

I need to use synchronize module but the rsync program is not installed in the container.

Could you tell me the procedure to install it? I'm trying

$ ansible-silo --shell 'sudo apk add --no-cache  rsync'
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/community/x86_64/APKINDEX.tar.gz
fetch http://dl-4.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
WARNING: This apk-tools is OLD! Some packages might not function properly.
(1/4) Installing libattr (2.4.47-r6)
(2/4) Installing libacl (2.2.52-r3)
(3/4) Installing popt (1.16-r6)
(4/4) Installing rsync (3.1.3-r0)
Executing busybox-1.26.2-r5.trigger
OK: 129 MiB in 50 packages

But

$ ansible-silo --shell 'which rsync'

Does not show anything.

Thank you

Juan

@udondan
Copy link
Collaborator

udondan commented Jul 3, 2018

Thanks Juan,

we recently came across the same problem. I'm currently testing Silo 3.0 which includes rsync. The public release should happen within a week.

Adding it on top of Silo, as you tried, is not possible. When the container exits, the modifications are lost. The only way is to add it to the Dockerfile and re-build the image.

Cheers,
Daniel

@juan-cabrera
Copy link
Author

Tank you very much, I will wait for the next version.

@udondan
Copy link
Collaborator

udondan commented Jul 31, 2018

Sorry, it's taking a bit longer. :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants