I'm affected by this as well using the new docker_container ansible module.
On Wednesday, February 18, 2015 at 1:24:20 AM UTC-5, James Webster wrote: > > I'm using Consul in combination with a service registration framework > (progrium/registrator Docker image) to play around with distributed service > discovery. Plus Ansible to start up my Docker containers, etc. However I'm > running into a limitation with the 'env' option of the Docker module. The > registration framework can allow me to set multiple 'tags' for a service, > but requires them to be expressed as a single environment variable with > comma-separate values, eg. > > env="SERVICE_80_TAGS=master,http" > > of course, this falls over because the Docker module is expecting multiple > environment variables to be comma separated; > > env="SOME_ENV_A=valueA,SOME_ENV_B=valueB" > > Can I get this to work with escaping, or would it be possible to support > an alternative separator in env? > > env="SERVICE_80_TAGS=master,http:SOME_ENV_A=valueA:SOME_ENV_B=valueB" > > -- *The information contained in this transmission (including any attachments) is confidential and may be privileged. It is intended only for the use of the individual or entity named above. If you are not the intended recipient, dissemination, distribution, or copy of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of this message and its attachments and notify me immediately.* -- 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/b67e98da-64d4-4a0a-8aad-25d3393c510d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
