You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
Hi Hristo,
You didn't. Docker module does not support copying files or folders
from a container.
There is no simple way to do so. I mean you need a hack. Off the top
of my head you can play with '-' argument for docker cp option. But it
will break idempotency for sure.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Igor, Not sure why you think ephemeral containers contradicts the need for copying files in and out of the container. In fact, there lots of good reason to do that, which is why docker client supports CP command, and expanded it in 1.8
In the stackoverflow thread someone suggested "synchronize" module, and then run the native local "docker cp ..." In the host, as a workaround.
Brian Coca
unread,
Aug 17, 2015, 5:05:18 PM8/17/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
the docker connection plugin should be able to copy, still a PR to be
merged, but might be worth a look.
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.