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