diff --git a/reboot.yml b/reboot.yml index 03b934b..5cf423a 100644 --- a/reboot.yml +++ b/reboot.yml @@ -3,7 +3,6 @@ hosts: all become: yes tasks: - - name: Redémarrer la machine - reboot: - reboot_timeout: 300 - when: apk_upgradable.stdout != "" + - name: Redémarrer la machine + reboot: + reboot_timeout: 300