Currently the docker module only restarts the container if the name parameter is specified and the image has changed. Are there plans to also check if other docker parameters have changed such as env, port and volume? It is pretty common to pass in configuration information via environment variables to containers. It would be nice if the Ansible docker modules realizes docker parameters have changed, then automatically restart the container. I don't think volume or port will change often but configuration information via environment variables will certainly evolve over time.
Aaron -- 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-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d9292738-d214-4a7e-98ef-c5e40e37d57b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.