Skip to content

Commit

Permalink
Replace filters with jinja tests
Browse files Browse the repository at this point in the history
  • Loading branch information
acopar committed Dec 9, 2019
1 parent 2621424 commit e7f3af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit e7f3af4

Please sign in to comment.