Hi Seth, after looking into this, the best way to approach this would be to
use the complex argument syntax as opposed to the key=value style you're
using now:
docker:
image: "readytalk/tomcat-native:8.0.9"
state: "running"
env:
CATALINA_OPTS: "-Dconfig.zookeepers=zoo
Hi Seth, looking into this now.
On Wed, Aug 20, 2014 at 11:58 AM, Seth Goings wrote:
> I noticed that a fix attempt for this recently went into the devel branch
> thanks to help on the IRC channel. Thanks for pointing me in the right
> direction, all!
>
> https://github.com/ansible/ansible/issu
I noticed that a fix attempt for this recently went into the devel branch
thanks to help on the IRC channel. Thanks for pointing me in the right
direction, all!
https://github.com/ansible/ansible/issues/8661
However, I'm having a similar problem with the following snippet:
- name: "Try to in
I think this is the problem in the module:
env = dict(type='list'),
If it were type='dict' we could do:
docker:
env:
options: {"foo":"bar","baz":"qux"}
other_arguments_here: 1234
And basically use full YAML, without any splitting magic.
If someone would like to help test t
I use json to compact my docker environment variables, the problem is that
the docker module parser splits on ',' character to signify a new key/value
pair, meaning that more than one key doesn't work. eg
docker: env='options={"foo":"bar"}' //ok
docker: env='options={"foo":"bar","baz":"qux"}'