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!