diff options
author | Gaƫtan <36162164+gaetanfl@users.noreply.github.com> | 2019-02-21 17:59:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-21 17:59:19 +0100 |
commit | ca163d9cd72f520a6c0a28ae613bdc757cfae1e5 (patch) | |
tree | 482fc8a71eb3557088fcaba84c781d8057d58a93 /tasks/setup.yml | |
parent | abde0015f21b63855fb9945040fd1cb77b726381 (diff) | |
parent | e4a83de00793993e9f270569795069e574ce40b4 (diff) | |
download | ansible-clever-ca163d9cd72f520a6c0a28ae613bdc757cfae1e5.tar.gz ansible-clever-ca163d9cd72f520a6c0a28ae613bdc757cfae1e5.tar.zst ansible-clever-ca163d9cd72f520a6c0a28ae613bdc757cfae1e5.zip |
Merge pull request #35 from gaetanfl/use_path_tool
use full path for clever helper invocation
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 |