diff options
author | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2019-02-21 17:40:39 +0100 |
---|---|---|
committer | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2019-02-21 17:40:39 +0100 |
commit | e4a83de00793993e9f270569795069e574ce40b4 (patch) | |
tree | 482fc8a71eb3557088fcaba84c781d8057d58a93 /tasks/setup.yml | |
parent | fee73e812e656d2214f92396df2f6044b341d7b7 (diff) | |
download | ansible-clever-e4a83de00793993e9f270569795069e574ce40b4.tar.gz ansible-clever-e4a83de00793993e9f270569795069e574ce40b4.tar.zst ansible-clever-e4a83de00793993e9f270569795069e574ce40b4.zip |
liniting
Diffstat (limited to 'tasks/setup.yml')
-rw-r--r-- | tasks/setup.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tasks/setup.yml b/tasks/setup.yml index 33b1ff6..3dad790 100644 --- a/tasks/setup.yml +++ b/tasks/setup.yml | |||
@@ -14,8 +14,11 @@ | |||
14 | remote_src: yes | 14 | remote_src: yes |
15 | extra_opts: | 15 | extra_opts: |
16 | - "--strip-components=1" | 16 | - "--strip-components=1" |
17 | src: https://clever-tools.cellar.services.clever-cloud.com/releases/{{ clever_cli_version }}/clever-tools-{{ clever_cli_version }}_linux.tar.gz | 17 | src: "{{ clever_repo }}/{{ clever_cli_version }}/{{ clever_tools_archive }}" |
18 | dest: "{{ ansible_env.HOME }}/{{ clever_user_path }}" | 18 | dest: "{{ ansible_env.HOME }}/{{ clever_user_path }}" |
19 | vars: | ||
20 | clever_repo: https://clever-tools.cellar.services.clever-cloud.com/releases | ||
21 | clever_tools_archive: "{{ clever_cli_version }}/clever-tools-{{ clever_cli_version }}_linux.tar.gz" | ||
19 | when: clever_returned_version is failed or clever_returned_version.stdout != clever_cli_version | 22 | when: clever_returned_version is failed or clever_returned_version.stdout != clever_cli_version |
20 | 23 | ||
21 | - name: Install helper scripts | 24 | - name: Install helper scripts |