diff options
author | paulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com> | 2020-03-24 16:12:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 16:12:39 +0100 |
commit | 0815543375419c6e15ac67d57d19578dfcf2b290 (patch) | |
tree | 0773be49aed217cebe9e600c4acb0b7cc49921df /templates | |
parent | 13602abcc2f50d0ad5b3eff47e5719bfa8b77ecd (diff) | |
parent | c99eb17850e51327449e6fac5572c6cfc436d21c (diff) | |
download | ansible-clever-0815543375419c6e15ac67d57d19578dfcf2b290.tar.gz ansible-clever-0815543375419c6e15ac67d57d19578dfcf2b290.tar.zst ansible-clever-0815543375419c6e15ac67d57d19578dfcf2b290.zip |
Merge pull request #60 from paulrbr-fl/fix-base-envv2.3
fix `clever_base_env` by removing a variable if not necessary
Diffstat (limited to 'templates')
-rw-r--r-- | templates/env.j2 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/env.j2 b/templates/env.j2 index d2bf446..66e5508 100644 --- a/templates/env.j2 +++ b/templates/env.j2 | |||
@@ -1,3 +1,9 @@ | |||
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 | tojson }}" | 2 | {{ key }}="{{ value | to_json }}" |
3 | {% endfor %} | 3 | {% endfor %} |
4 | |||
5 | {%- if clever_haskell_entry_point %} | ||
6 | {# Haskell only #} | ||
7 | {# https://www.clever-cloud.com/doc/get-help/reference-environment-variables/#haskell #} | ||
8 | CC_RUN_COMMAND="{{'~/.local/bin/' + clever_haskell_entry_point | to_json }}" | ||
9 | {% endif %} | ||