diff options
-rw-r--r-- | tasks/setup.yml | 2 | ||||
-rw-r--r-- | templates/env.j2 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tasks/setup.yml b/tasks/setup.yml index ac9fdcb..0dfcddf 100644 --- a/tasks/setup.yml +++ b/tasks/setup.yml | |||
@@ -15,7 +15,7 @@ | |||
15 | - "--strip-components=1" | 15 | - "--strip-components=1" |
16 | src: https://clever-tools.cellar.services.clever-cloud.com/releases/{{ clever_cli_version }}/clever-tools-{{ clever_cli_version }}_linux.tar.gz | 16 | src: https://clever-tools.cellar.services.clever-cloud.com/releases/{{ clever_cli_version }}/clever-tools-{{ clever_cli_version }}_linux.tar.gz |
17 | dest: "{{ ansible_env.HOME }}/{{ clever_user_path }}" | 17 | dest: "{{ ansible_env.HOME }}/{{ clever_user_path }}" |
18 | when: clever_returned_version|failed or clever_returned_version.stdout != clever_cli_version | 18 | when: clever_returned_version is failed or clever_returned_version.stdout != clever_cli_version |
19 | 19 | ||
20 | - name: Install helper scripts | 20 | - name: Install helper scripts |
21 | copy: | 21 | copy: |
diff --git a/templates/env.j2 b/templates/env.j2 index d543a81..6ed6469 100644 --- a/templates/env.j2 +++ b/templates/env.j2 | |||
@@ -1,3 +1,3 @@ | |||
1 | {% for key, value in (clever_base_env | combine(clever_env)).iteritems() %} | 1 | {% for key, value in (clever_base_env | combine(clever_env)).items() %} |
2 | {{ key }}={{ value }} | 2 | {{ key }}={{ value }} |
3 | {% endfor %} | 3 | {% endfor %} |