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: Iaab769237a607bf003fb70eb99ade309c112d6ac
This commit is contained in:
Jean-Philippe Evrard 2018-07-12 16:44:21 +02:00
parent 6fcb188186
commit b78a565405
1 changed files with 1 additions and 1 deletions

View File

@ -20,6 +20,6 @@
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