mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
[PR #9859/eff25c8a backport][stable-10] Fix/improve tests (#9860)
Fix/improve tests (#9859)
* Fix tests.
* Improve callback tests.
(cherry picked from commit eff25c8a6e)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user