KVM: Change variable names
This commit is contained in:
parent
aec0417513
commit
1821e77bc1
|
@ -71,14 +71,14 @@
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
|
||||||
- command: cat /sys/devices/system/clocksource/clocksource0/current_clocksource
|
- command: cat /sys/devices/system/clocksource/clocksource0/current_clocksource
|
||||||
register: clocksource
|
register: timesync_clocksource
|
||||||
changed_when: False
|
changed_when: False
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: timesync-disabled
|
- role: timesync-disabled
|
||||||
when: clocksource.stdout == "kvm-clock" and not timesync_force
|
when: timesync_clocksource.stdout == "kvm-clock" and not timesync_force
|
||||||
- role: timesync-enabled
|
- role: timesync-enabled
|
||||||
when: clocksource.stdout != "kvm-clock" or timesync_force
|
when: timesync_clocksource.stdout != "kvm-clock" or timesync_force
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue