summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/base/tasks/watchdog.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/base/tasks/watchdog.yml b/roles/base/tasks/watchdog.yml
index c94bcd9ab..a2c5c112e 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