diff options
author | Paul Bonaud <paul.bonaud@fretlink.com> | 2018-09-21 11:04:50 +0200 |
---|---|---|
committer | Paul Bonaud <paul.bonaud@fretlink.com> | 2018-09-21 11:04:50 +0200 |
commit | 1561a17014c8d5b456c012bd25c6333640602b68 (patch) | |
tree | 1bfe9d4f6e0c05bc6c2cc1f9caff2948fc977b8c | |
parent | 84f2505fcd00182ab3b6f24fdbb2412fb25743ac (diff) | |
download | ansible-clever-1561a17014c8d5b456c012bd25c6333640602b68.tar.gz ansible-clever-1561a17014c8d5b456c012bd25c6333640602b68.tar.zst ansible-clever-1561a17014c8d5b456c012bd25c6333640602b68.zip |
warnings: Remove warning given by Ansible 2.5
```
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|failed` instead
use `result is failed`. This feature will be removed in version 2.9. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
```
-rw-r--r-- | tasks/setup.yml | 2 |
1 files changed, 1 insertions, 1 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: |