# reboot issues

**URL:** <https://forum.ansible.com/t/reboot-issues/34413>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [January 8, 2021, 7:45pm UTC](https://forum.ansible.com/t/reboot-issues/34413 "2021-01-08T19:45:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rene\_Paquin](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@Rene\_Paquin](https://forum.ansible.com/u/Rene_Paquin)\
**Post date:** [January 8, 2021, 7:45pm UTC](https://forum.ansible.com/t/reboot-issues/34413/1 "2021-01-08T19:45:26Z")

</div>

I am testing a playbook to deploy updates then force a reboot on an Oracle Linux ver 8.3 The DNF updates run fine but when the system reboots it hangs. The server is a vm running in a vmware 6.7 environment. In order to bring the system back up I have to reset the vm from vcenter. Not sure how to troubleshoot this. The playbook is as follows:

---

<div class="post-metadata">

**Author:** ![Rene\_Paquin](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@Rene\_Paquin](https://forum.ansible.com/u/Rene_Paquin)\
**Post date:** [January 8, 2021, 8:07pm UTC](https://forum.ansible.com/t/reboot-issues/34413/2 "2021-01-08T20:07:34Z")

</div>

Further to this…

I separated the tasks into two playbooks. I run the update playbook and when complete I then run the reboot playbook. The system still hangs. After I reset the VM and it is back online I run the reboot playbook and it works fine. So I assume there is something that needs to be done after the updates are completed? Not sure.

Thanks,

Rene

---

<div class="post-metadata">

**Author:** ![Emiliano\_Vazquez](https://avatars.discourse-cdn.com/v4/letter/e/df705f/32.png) [@Emiliano\_Vazquez](https://forum.ansible.com/u/Emiliano_Vazquez)\
**Post date:** [January 11, 2021, 2:27pm UTC](https://forum.ansible.com/t/reboot-issues/34413/3 "2021-01-11T14:27:57Z")

</div>

Hi René!

Take a look at this, use the system to tell you is reboot is required and then reboot. The system will tell you when this is needed, some times grub need run to update links to kernel

[https://www.unixsysadmin.com/ansible-patch-reboot/](https://www.unixsysadmin.com/ansible-patch-reboot/)

[https://thenathan.net/2020/07/16/yum-and-dnf-update-and-reboot-with-ansible/](https://thenathan.net/2020/07/16/yum-and-dnf-update-and-reboot-with-ansible/)

Maybe you can show the errors to see more about this failed reboot

Best regards.

---

<div class="post-metadata">

**Author:** ![Rene\_Paquin](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@Rene\_Paquin](https://forum.ansible.com/u/Rene_Paquin)\
**Post date:** [January 11, 2021, 3:01pm UTC](https://forum.ansible.com/t/reboot-issues/34413/4 "2021-01-11T15:01:45Z")

</div>

Thanks for the response but it turns out that it was an OS issue and not an ansible issue.

Rene
