diff --git a/reboot-ubuntu-server.yaml b/reboot-ubuntu-server.yaml new file mode 100644 index 0000000..0dff452 --- /dev/null +++ b/reboot-ubuntu-server.yaml @@ -0,0 +1,10 @@ +--- +- name: Reboot Ubuntu server + hosts: all + become: yes + + tasks: + - name: Reboot the remote server + ansible.builtin.reboot: + reboot_timeout: 600 + post_reboot_delay: 30 \ No newline at end of file