@@ -1,8 +1,9 @@
---
- name: Reboot server
- shell: "reboot"
+ shell: "/sbin/reboot"
async: 1
poll: 0
+ become: true
- name: Wait for the reboot to complete
wait_for_connection: