Skip to content

Commit

Permalink
fix: make sure not to include unecessary ENV variable
Browse files Browse the repository at this point in the history
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
  • Loading branch information
paulrbr-fl committed Jun 19, 2020
1 parent ae572cc commit 2fb86fc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
1 change: 0 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}

Expand Down

0 comments on commit 2fb86fc

Please sign in to comment.