From 27cf9f9b77e47ac7f14ac23961eafb09d4712df7 Mon Sep 17 00:00:00 2001 From: L3D Date: Mon, 20 Dec 2021 22:55:07 +0100 Subject: [PATCH] delay update --- tasks/hostname.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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