From e38027803e6066a3a12c268c0cade17e411611d5 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Mon, 3 Feb 2020 23:19:13 -0500 Subject: [PATCH] Reboot at end of run, if required --- windowsWorkstation.sls | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/windowsWorkstation.sls b/windowsWorkstation.sls index d04f1dd..a82883e 100644 --- a/windowsWorkstation.sls +++ b/windowsWorkstation.sls @@ -35,3 +35,8 @@ Final Housekeeping: - name: standby - value: 30 # default - order: last + module.run: + - name: system.reboot + - timeout: 0 + - only_on_pending_reboot: true + - order: last