Do you have the required Python module installed on the remote node? I believe it is docker-py but check the docket module to be sure.
> On Dec 26, 2014, at 6:13 AM, Lokesh Dokara <[email protected]> wrote: > > But ansible module is not working properly on remote nodes > >> On Wednesday, December 24, 2014 12:34:08 AM UTC+5:30, Matt Hughes wrote: >> The volumes need to be where docker is running. So yes, host directory >> should be on the remote node running docker. >> >>> On Monday, December 22, 2014 11:03:56 AM UTC-5, Lokesh Dokara wrote: >>> Hi all, >>> >>> Docker volumes worked fine for me as long as I use ansible to run docker on >>> local system, but not working fine when I try to use ansible to run docker >>> on a remote node. My question is whether docker expects the host directory >>> in volumes option to be on system running ansible or the remote node. I've >>> got no results when I had host directory in remote node. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Ansible Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ansible-project/tjBFAN1Qc7w/unsubscribe. > To unsubscribe from this group and all its topics, 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/5e673187-b864-4c3f-8a00-1c68b3335d6e%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/D9CEADE1-2BFD-42CC-B24A-946C927117EF%40gmail.com. For more options, visit https://groups.google.com/d/optout.
