aboutsummaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2020-03-24 10:18:14 +0100
committerPaul Bonaud <paul.bonaud@fretlink.com>2020-03-24 16:09:45 +0100
commitc99eb17850e51327449e6fac5572c6cfc436d21c (patch)
tree0773be49aed217cebe9e600c4acb0b7cc49921df /vars
parent13602abcc2f50d0ad5b3eff47e5719bfa8b77ecd (diff)
downloadansible-clever-c99eb17850e51327449e6fac5572c6cfc436d21c.tar.gz
ansible-clever-c99eb17850e51327449e6fac5572c6cfc436d21c.tar.zst
ansible-clever-c99eb17850e51327449e6fac5572c6cfc436d21c.zip
vars: fix `clever_base_env` by removing a variable if not necessary
The `CC_RUN_COMMAND` variable was defined in case we use haskell binary as entrypoints. However if the `clever_haskell_entry_point` variable is not defined we shouldn't define the `CC_RUN_COMMAND` env variable.
Diffstat (limited to 'vars')
-rw-r--r--vars/main.yml3
1 files changed, 0 insertions, 3 deletions
diff --git a/vars/main.yml b/vars/main.yml
index 94ee792..a9625f0 100644
--- a/vars/main.yml
+++ b/vars/main.yml
@@ -2,9 +2,6 @@
2# vars file for clever 2# vars file for clever
3clever_base_env: 3clever_base_env:
4 CACHE_DEPENDENCIES: "true" 4 CACHE_DEPENDENCIES: "true"
5 # Haskell only
6 # https://www.clever-cloud.com/doc/get-help/reference-environment-variables/#haskell
7 CC_RUN_COMMAND: "~/.local/bin/{{ clever_haskell_entry_point }}"
8 CC_DISABLE_METRICS: "{{ clever_disable_metrics | lower }}" 5 CC_DISABLE_METRICS: "{{ clever_disable_metrics | lower }}"
9 PORT: "8080" 6 PORT: "8080"
10 7