From 50411cbb2d091a3bca251e8cd1f599928141cb7b Mon Sep 17 00:00:00 2001 From: Paul Bonaud Date: Fri, 19 Jun 2020 16:20:43 +0200 Subject: fix: make sure not to include unecessary ENV variable This is a fix to an unfortunate bug introduced by #64 because we had a default value set to `None` on the `clever_haskell_entry_point`. Ansible considers `None` as a defined value so the `is defined` condition doesn't match our need --- README.md | 1 - defaults/main.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index 7a4557b..c0f7959 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,6 @@ Variables for the application Example: `{ name: pg, env_prefix: POSTGRESQL_ADDON }` - `clever_app_tasks_file`: tasks file to be executed after environment and addons variables where gathered. Specific to an app, should be use to run migrations. Optional. - `clever_haskell_entry_point`: the haskell executable name to be executed by clever cloud, optional. -- _Obsolete_: `clever_entry_point`: Same as above but was replaced by `clever_haskell_entry_point` since v1.14 of this role. - `clever_domain`: the domain from which the application should be reachable, optional. - _Obsolete_: `domain`: Same as above but was replaced by `clever_domain` since v1.4 of this role. - `clever_syslog_server`: UDP Syslog server to be used as UDPSyslog drain for the application, optional. Example: `udp://198.51.100.51:12345`. diff --git a/defaults/main.yml b/defaults/main.yml index bd3b6a6..4e2ef8e 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -6,7 +6,6 @@ clever_app_root: "{{ app_root | default(playbook_dir + '/..') }}" clever_app_confdir: "{{ clever_app_root }}/.clever_cloud" clever_login_file: "{{ clever_app_confdir }}/login" -clever_haskell_entry_point: "{{ clever_entry_point | default(None) }}" clever_haskell_env: {} clever_env: {} -- cgit v1.2.3