diff --git a/tasks/hostname.yml b/tasks/hostname.yml index 85c0c12..498226f 100644 --- a/tasks/hostname.yml +++ b/tasks/hostname.yml @@ -4,6 +4,7 @@ name: "{{ inventory_hostname }}" register: res -- name: Reboot +- name: host is rebooting in 15 sec!! ansible.windows.win_reboot: + re_reboot_delay: 15 when: res.reboot_required