diff --git a/system_restart.yml b/system_restart.yml index d86151c..beddf17 100644 --- a/system_restart.yml +++ b/system_restart.yml @@ -2,4 +2,4 @@ hosts: all tasks: - name: system restart - shell: shutdown -r now \ No newline at end of file + ansible.builtin.reboot: \ No newline at end of file