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. However from my point of view if you wish to copy something into a container you're probably doing something wrong. Containers should be ephemeral. https://docs.docker.com/articles/dockerfile_best-practices/ -- Best, Igor On Mon, Aug 17, 2015 at 10:13 AM, Hristo Stoyanov <[email protected]> wrote: > See: > http://stackoverflow.com/questions/32044399/ansible-docker-module-missing-cp-command > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/41a9508a-ca90-4e6e-9461-84b56c6f3bdc%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAGuansqPkek2XFJkddUp%2Bo0Vqzphzo4-qcYDX8xt7A2FBgcAtw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
