diff options
author | Clément Delafargue <39330590+clementd-fretlink@users.noreply.github.com> | 2020-06-19 11:42:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 11:42:50 +0200 |
commit | 18c278e2d8f19fe1066908bd6bc631bdb8472333 (patch) | |
tree | 9aea4bc0fbeec80e6e72fcf038fa30873bb2d3cb /tasks/environment.yml | |
parent | d5c5bf88290ffb2fbb7835dcfb9c645563cdd3e6 (diff) | |
parent | d5b5cb172cd488883e2eac0395dbe4d34ddd7a44 (diff) | |
download | ansible-clever-18c278e2d8f19fe1066908bd6bc631bdb8472333.tar.gz ansible-clever-18c278e2d8f19fe1066908bd6bc631bdb8472333.tar.zst ansible-clever-18c278e2d8f19fe1066908bd6bc631bdb8472333.zip |
Merge pull request #64 from clementd-fretlink/json-env
Use JSON import for environment variables
Diffstat (limited to 'tasks/environment.yml')
-rw-r--r-- | tasks/environment.yml | 10 |
1 files changed, 10 insertions, 0 deletions
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 |