Fix/improve tests (#9859)

* Fix tests.

* Improve callback tests.
This commit is contained in:
Felix Fontein
2025-03-09 16:48:36 +01:00
committed by GitHub
parent 4727fb77b3
commit eff25c8a6e
28 changed files with 187 additions and 157 deletions

View File

@@ -25,10 +25,10 @@
- name: install cron package
package:
name: '{{ cron_pkg }}'
when: cron_pkg | default(false, true)
when: (cron_pkg | default(false, true)) is truthy
register: cron_package_installed
until: cron_package_installed is success
- when: faketime_pkg | default(false, true)
- when: (faketime_pkg | default(false, true)) is truthy
block:
- name: install cron and faketime packages
package: