aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'tasks')
-rw-r--r--tasks/deploy.yml2
-rw-r--r--tasks/environment.yml10
2 files changed, 11 insertions, 1 deletions
diff --git a/tasks/deploy.yml b/tasks/deploy.yml
index 4d4ecaa..751d78f 100644
--- a/tasks/deploy.yml
+++ b/tasks/deploy.yml
@@ -17,7 +17,7 @@
17 CONFIGURATION_FILE: "{{ clever_login_file }}" 17 CONFIGURATION_FILE: "{{ clever_login_file }}"
18 18
19- name: Push Environment 19- name: Push Environment
20 shell: "clever env import < {{ clever_app_confdir }}/env" 20 shell: "clever env import --json < {{ clever_app_confdir }}/env"
21 args: 21 args:
22 chdir: "{{ clever_app_root }}" 22 chdir: "{{ clever_app_root }}"
23 environment: 23 environment:
diff --git a/tasks/environment.yml b/tasks/environment.yml
index 1508ad4..60b31d2 100644
--- a/tasks/environment.yml
+++ b/tasks/environment.yml
@@ -1,3 +1,13 @@
1- name: Setup haskell-specific environment variables
2 set_fact:
3 clever_haskell_env:
4 CC_RUN_COMMAND: "~/.local/bin/{{ clever_haskell_entry_point }}"
5 when: clever_haskell_entry_point is defined
6
7- name: Assemble full environment
8 set_fact:
9 clever_env: "{{ clever_base_env | combine(clever_haskell_env) | combine(clever_env) }}"
10
1- name: Create environment file 11- name: Create environment file
2 template: 12 template:
3 src: env.j2 13 src: env.j2