KVM: Change variable names

This commit is contained in:
Sven Velt 2020-12-03 16:10:48 +01:00
parent aec0417513
commit 1821e77bc1

View file

@ -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