Explorar o código

:wrench: add reboot job

Jeremy Zheng hai 1 ano
pai
achega
75bfca10a0
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      deploy/reboot.yml

+ 7 - 0
deploy/reboot.yml

@@ -0,0 +1,7 @@
+- name: Reboot
+  hosts: all,!localhost
+  tasks:
+    - name: Reboot system
+      become: true
+      ansible.builtin.reboot:
+        reboot_timeout: 120