>
> raw: "docker run {{ container_commands[container_name] }} registry:2.0" 


raw:

Executes a low-down and dirty SSH command, not going through the module 
subsystem. This is useful and should only be done in two cases. The first 
case is installing python-simplejson on older (Python 2.4 and before) hosts 
that need it as a dependency to run modules, since nearly all core modules 
require it. Another is speaking to any devices such as routers that do not 
have any Python installed. In any other case, using the shell 
<http://docs.ansible.com/shell_module.html#shell> or command 
<http://docs.ansible.com/command_module.html#command> module is much more 
appropriate.  

Have you tried command or shell?

Cheers,
Paul

-- 
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/fad0cee5-99eb-4aed-970c-573b79da316d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to