From abdf1d310ded1a378e99adf70d1e45cb9f15efe3 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 10 Apr 2016 16:39:20 +0000 Subject: [PATCH] Try this --- roles/base/tasks/watchdog.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/base/tasks/watchdog.yml b/roles/base/tasks/watchdog.yml index c94bcd9abb..a2c5c112eb 100644 --- a/roles/base/tasks/watchdog.yml +++ b/roles/base/tasks/watchdog.yml @@ -33,4 +33,4 @@ - service - watchdog - base - when: watchdog_dev|succeeded and ansible_virtualization_role == 'guest' and watchdog_dev.stat.exists + when: watchdog_dev is defined and ansible_virtualization_role == 'guest' and watchdog_dev.stat.exists