Improve hwclock support test. (#4904) (#4907)

(cherry picked from commit 674b1da8bf)

Co-authored-by: Felix Fontein <felix@fontein.de>
pull/4926/head
patchback[bot] 2022-06-30 07:42:02 +02:00 committed by GitHub
parent cf5e371dd4
commit 7d85963c65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@
- name: - name:
set_fact: 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 ## test set hwclock, idempotency and checkmode
## ##