diff --git a/ansible/roles/test/tasks/common_tasks/reboot_sonic.yml b/ansible/roles/test/tasks/common_tasks/reboot_sonic.yml index 21ec0f8cacf..56487f788ab 100644 --- a/ansible/roles/test/tasks/common_tasks/reboot_sonic.yml +++ b/ansible/roles/test/tasks/common_tasks/reboot_sonic.yml @@ -1,6 +1,5 @@ -- name: reboot - become: true - shell: shutdown -r now "Warning! System is being rebooted remotely by reboot_sonic.yml" +- name: "rebooting {{ inventory_hostname }} : {{ ansible_host }} ..." + shell: sudo reboot async: 1 poll: 0 ignore_errors: true