LDAP string in Docker env

Hi,

I'm deploying a docker container where I pass an env variable in the
docker module. The problem is that the parser cuts of a part of the
value because it contains '=' signs.

this is the part from the playbook :

env="LDAP_BIND_DN="cn=user,dc=domain,dc=local"

when I look at the env var in the configuration file after the
container has started i see following value :

cn=user

I assume the parser cuts everything off after first comma following a '=' sign.

Is there any way to escape this?

Vincent

You can use complex args, or try to escape the quotation mark that’s part of the value with \

Vincent Van der Kussen vincent.vanderkussen@gmail.com napisał:

Complex args indeed fixed the issue.
thx.