mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Improve hwclock support test. (#4904)
This commit is contained in:
parent
265c052c27
commit
674b1da8bf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in a new issue