From 1561a17014c8d5b456c012bd25c6333640602b68 Mon Sep 17 00:00:00 2001 From: Paul Bonaud Date: Fri, 21 Sep 2018 11:04:50 +0200 Subject: 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. ``` --- tasks/setup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tasks') 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 @@ - "--strip-components=1" src: https://clever-tools.cellar.services.clever-cloud.com/releases/{{ clever_cli_version }}/clever-tools-{{ clever_cli_version }}_linux.tar.gz dest: "{{ ansible_env.HOME }}/{{ clever_user_path }}" - when: clever_returned_version|failed or clever_returned_version.stdout != clever_cli_version + when: clever_returned_version is failed or clever_returned_version.stdout != clever_cli_version - name: Install helper scripts copy: -- cgit v1.2.3