From e7f3af435c023c9205279b2ba0a1f15385241632 Mon Sep 17 00:00:00 2001 From: Andrej Copar Date: Thu, 28 Nov 2019 14:49:36 +0100 Subject: [PATCH] Replace filters with jinja tests --- tasks/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/install.yml b/tasks/install.yml index cc8648c..62c9bd0 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -13,7 +13,7 @@ # NOTE: Output of 'yum repolist' may start with '*' if the repository has # metalink data and the latest metadata is not local or with '!' if the # repository has metadata that is expired. - when: not postgresql_repos_res.stdout | search('\n(\*|!)?' + postgresql_rhel_rhscl_repo) + when: not postgresql_repos_res.stdout is search('\n(\*|!)?' + postgresql_rhel_rhscl_repo) when: ansible_distribution == "RedHat"