Explorar el Código

Rolle reboot
- sleep 5 vor reboot eingefügt

erdo_king hace 7 años
padre
commit
1b8362aa28
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      roles/reboot/tasks/main.yml

+ 1 - 1
roles/reboot/tasks/main.yml

@@ -1,6 +1,6 @@
 ---
 - name: Reboot server
-  shell: "/sbin/reboot"
+  shell: "sleep 5 && /sbin/reboot"
   async: 1
   poll: 0
   become: true