From 130eb078f348eabe0e65ed1d721a76610ae70a93 Mon Sep 17 00:00:00 2001 From: Yoan Tournade Date: Thu, 3 May 2018 23:58:35 +0200 Subject: [PATCH] Do not use anymore deprecated 'Tests as filters'. Use new syntax is failed or is changed. --- tasks/test-cert-exists.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/test-cert-exists.yml b/tasks/test-cert-exists.yml index 7090c02..6804877 100644 --- a/tasks/test-cert-exists.yml +++ b/tasks/test-cert-exists.yml @@ -15,5 +15,5 @@ when: letsencrypt_cert_exists.stat.exists - set_fact: - letsencrypt_cert_updated: "{{ (letsencrypt_cert_contents | changed) or (letsencrypt_cert_contents | failed) }}" + letsencrypt_cert_updated: "{{ (letsencrypt_cert_contents is changed) or (letsencrypt_cert_contents is failed) }}" when: letsencrypt_cert_exists.stat.exists