From 1821e77bc151d12a350739083bfeb50d4f4a9dd7 Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Thu, 3 Dec 2020 16:10:48 +0100 Subject: [PATCH] KVM: Change variable names --- timesync.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/timesync.yml b/timesync.yml index 3e5af7b..c4485ce 100644 --- a/timesync.yml +++ b/timesync.yml @@ -71,14 +71,14 @@ pre_tasks: - command: cat /sys/devices/system/clocksource/clocksource0/current_clocksource - register: clocksource + register: timesync_clocksource changed_when: False roles: - 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 - when: clocksource.stdout != "kvm-clock" or timesync_force + when: timesync_clocksource.stdout != "kvm-clock" or timesync_force