mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +00:00
Improve hwclock support test. (#4904)
This commit is contained in:
@@ -287,7 +287,7 @@
|
||||
|
||||
- name:
|
||||
set_fact:
|
||||
hwclock_supported: '{{ hwclock_test is successful or timedatectl_test is successful }}'
|
||||
hwclock_supported: '{{ hwclock_test is successful or (timedatectl_test is successful and "RTC time: n/a" not in timedatectl_test.stdout) }}'
|
||||
##
|
||||
## test set hwclock, idempotency and checkmode
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user