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: If810a426a28f150548f7249e5f1bba05ab731c97
This commit is contained in:
Jean-Philippe Evrard 2018-07-12 16:44:21 +02:00
parent 36dad1bb24
commit 1deaccde49
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
tags: