aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/env.j2
diff options
context:
space:
mode:
authorpaulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com>2020-03-25 08:56:18 +0100
committerGitHub <noreply@github.com>2020-03-25 08:56:18 +0100
commit5816bb884149309b6cfcf438feab7265a14d4c0b (patch)
tree8ce03f2cc4ff396782aab7af6296aadc40553f6d /templates/env.j2
parent0815543375419c6e15ac67d57d19578dfcf2b290 (diff)
parent47bbd50a222a2f0d477863ce9de6982cc5fc8fd3 (diff)
downloadansible-clever-5816bb884149309b6cfcf438feab7265a14d4c0b.tar.gz
ansible-clever-5816bb884149309b6cfcf438feab7265a14d4c0b.tar.zst
ansible-clever-5816bb884149309b6cfcf438feab7265a14d4c0b.zip
Merge pull request #61 from paulrbr-fl/fix-env-filev2.4
fix: there was a bug in the generate env file
Diffstat (limited to 'templates/env.j2')
-rw-r--r--templates/env.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/env.j2 b/templates/env.j2
index 66e5508..30bda82 100644
--- a/templates/env.j2
+++ b/templates/env.j2
@@ -1,9 +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 | to_json }}" 2{{ key }}={{ value | to_json }}
3{% endfor %} 3{% endfor %}
4 4
5{%- if clever_haskell_entry_point %} 5{%- if clever_haskell_entry_point %}
6{# Haskell only #} 6{# Haskell only #}
7{# https://www.clever-cloud.com/doc/get-help/reference-environment-variables/#haskell #} 7{# https://www.clever-cloud.com/doc/get-help/reference-environment-variables/#haskell #}
8CC_RUN_COMMAND="{{'~/.local/bin/' + clever_haskell_entry_point | to_json }}" 8CC_RUN_COMMAND={{'~/.local/bin/' + clever_haskell_entry_point | to_json }}
9{% endif %} 9{% endif %}