From 4b33b05b8ade036690e3a9889f3e4d3e0204a56a Mon Sep 17 00:00:00 2001 From: vincent Date: Wed, 18 Aug 2021 18:36:52 +0200 Subject: [PATCH] correct reboot case --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index ca05049..9d3799d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -40,7 +40,7 @@ - name: Reboot updates to apply reboot: reboot_timeout: 3600 - when: upgrade.changed and "linux" in upgrade.packages and not debian.stdout + when: not debian.stdout and (upgrade.changed and "linux" in upgrade.packages) become: yes - name: zsh install