Fix usage of "|" for tests

With the more recent versions of ansible, we should now use
"is" instead of the "|" sign for the tests.

This should fix it.

Change-Id: Iee010bdcf55943f42433234d6c6f60ba103e6953
This commit is contained in:
Jean-Philippe Evrard 2018-07-12 16:44:21 +02:00
parent 56ced7d97e
commit 68a9655da1
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
update_cache: "{{ (ansible_pkg_mgr == 'apt') | ternary('yes', omit) }}"
cache_valid_time: "{{ (ansible_pkg_mgr == 'apt') | ternary(cache_timeout, omit) }}"
register: install_packages
until: install_packages|success
until: install_packages is success
retries: 5
delay: 2
with_items: "{{ rsyslog_client_distro_packages }}"