Hi all,
I am trying to generate Dockerfiles with Ansible template - see the role
and the template in Ansible Galaxy: *peruncs.docker*
So this:
*...*
*instruction: CMD*
*value: '["/var/lib/{{postrges_version}}/bin/postgres"]'*
*...*
ends up like:
*....*
* CMD ** '['/var/lib/9.4/bin/postgres']'*
*...*
and I lost the my ", which renders the Dockerfiles useless!
Any help ? How can I convince Jinja to not substitute " with ' ? I tried
\" , |safe filter, even {% raw %} - it's just keep doing it ...sigh
Thanks in advance!
--
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/45a03ab3-c3c1-46e4-808f-e83d8eb46145%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.