diff options
author | Clément Delafargue <39330590+clementd-fretlink@users.noreply.github.com> | 2019-11-27 14:46:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-27 14:46:38 +0100 |
commit | df3a17db216aea9c7fbb86b7f6fd8c31975dd457 (patch) | |
tree | 1a32eba7412161d56cc88818e42300e202e4de40 | |
parent | 2c2678f3be52d0e4cdba297649d3357e74f3fa82 (diff) | |
parent | 52ecb5c7e3665d915e48bc8362a92e7ebff06e37 (diff) | |
download | ansible-clever-df3a17db216aea9c7fbb86b7f6fd8c31975dd457.tar.gz ansible-clever-df3a17db216aea9c7fbb86b7f6fd8c31975dd457.tar.zst ansible-clever-df3a17db216aea9c7fbb86b7f6fd8c31975dd457.zip |
Merge pull request #57 from clementd-fretlink/quoted-env-vars
Quote env vars to support multiline values
-rw-r--r-- | templates/env.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/env.j2 b/templates/env.j2 index 6ed6469..d2bf446 100644 --- a/templates/env.j2 +++ b/templates/env.j2 | |||
@@ -1,3 +1,3 @@ | |||
1 | {% for key, value in (clever_base_env | combine(clever_env)).items() %} | 1 | {% for key, value in (clever_base_env | combine(clever_env)).items() %} |
2 | {{ key }}={{ value }} | 2 | {{ key }}="{{ value | tojson }}" |
3 | {% endfor %} | 3 | {% endfor %} |