diff options
author | Paul Bonaud <paul.bonaud@fretlink.com> | 2020-03-24 10:18:14 +0100 |
---|---|---|
committer | Paul Bonaud <paul.bonaud@fretlink.com> | 2020-03-24 16:09:45 +0100 |
commit | c99eb17850e51327449e6fac5572c6cfc436d21c (patch) | |
tree | 0773be49aed217cebe9e600c4acb0b7cc49921df /defaults | |
parent | 13602abcc2f50d0ad5b3eff47e5719bfa8b77ecd (diff) | |
download | ansible-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 'defaults')
-rw-r--r-- | defaults/main.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/defaults/main.yml b/defaults/main.yml index d4aa86d..0e4bada 100644 --- a/defaults/main.yml +++ b/defaults/main.yml | |||
@@ -1,12 +1,12 @@ | |||
1 | --- | 1 | --- |
2 | # defaults file for clever | 2 | # defaults file for clever |
3 | clever_cli_version: 1.4.2 | 3 | clever_cli_version: 1.6.3 |
4 | clever_user_path: .local/bin | 4 | clever_user_path: .local/bin |
5 | clever_app_root: "{{ app_root | default(playbook_dir + '/..') }}" | 5 | clever_app_root: "{{ app_root | default(playbook_dir + '/..') }}" |
6 | clever_app_confdir: "{{ clever_app_root }}/.clever_cloud" | 6 | clever_app_confdir: "{{ clever_app_root }}/.clever_cloud" |
7 | clever_login_file: "{{ clever_app_confdir }}/login" | 7 | clever_login_file: "{{ clever_app_confdir }}/login" |
8 | 8 | ||
9 | clever_haskell_entry_point: "{{ clever_entry_point | default('') }}" | 9 | clever_haskell_entry_point: "{{ clever_entry_point | default(None) }}" |
10 | clever_env: {} | 10 | clever_env: {} |
11 | 11 | ||
12 | clever_disable_metrics: false | 12 | clever_disable_metrics: false |