There are no plans per se but that doesn't mean it's not a good idea. I think it would depend on whether this was easily queryable by docker-py, but I imagine it would be.
If you'd like to work on this, you are welcome, otherwise please file a feature request in GitHub so we don't lose track of the idea. Thanks! On Wed, Sep 24, 2014 at 12:11 PM, Aaron Feng <[email protected]> wrote: > 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 [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/d9292738-d214-4a7e-98ef-c5e40e37d57b%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/d9292738-d214-4a7e-98ef-c5e40e37d57b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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/CA%2BnsWgzfh2hT9BQHSoU%3DBCPm9m94GP3AOQ-bKScU%3DZcp6yVhrQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
