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
commit eff25c8a6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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: