It seems the docker module for ansible is geared toward spinning up new 
containers, but not restarting an existing running container.

In command line, all you need is the container name.  It is as simple as
sudo docker stop <container_name>
sudo docker start <container_name>

But Ansible's docker requires 'image', which complicates things as now it 
has to remember all the settings how the container was first created.

-- 
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/0c5fc249-284e-4e2d-bb00-657b8816685a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to