# reboot with ignore\_errors still errors out

**URL:** <https://forum.ansible.com/t/reboot-with-ignore-errors-still-errors-out/23767>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [February 19, 2017, 3:56am UTC](https://forum.ansible.com/t/reboot-with-ignore-errors-still-errors-out/23767 "2017-02-19T03:56:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixel\_fairy](https://avatars.discourse-cdn.com/v4/letter/p/6f9a4e/32.png) [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Post date:** [February 19, 2017, 3:56am UTC](https://forum.ansible.com/t/reboot-with-ignore-errors-still-errors-out/23767/1 "2017-02-19T03:56:37Z")

</div>

trying to reboot with ignore\_errors: true still errors out. control machine and all ceph nodes run ubuntu 16.04. ansible 2.2.1.0 installed with pip

`

---

<div class="post-metadata">

**Author:** ![Pshem\_Kowalczyk](https://avatars.discourse-cdn.com/v4/letter/p/e480ec/32.png) [@Pshem\_Kowalczyk](https://forum.ansible.com/u/Pshem_Kowalczyk)\
**Post date:** [February 19, 2017, 7:30am UTC](https://forum.ansible.com/t/reboot-with-ignore-errors-still-errors-out/23767/2 "2017-02-19T07:30:43Z")

</div>

Hi,

Perhaps not directly answering your question - but a workaround I used in a number of playbooks (added to the tasks that times out, in your case the one that unsets the noout):

- name: Unset the noout flag  
command: ceph osd unset noout  
register: result

until: result.failed is undefined  
retries: 10  
delay: 10

to overcome the issues with premature failure due to timeouts.

you might also find

- pause: seconds=60

useful if you know it takes some time for the machine to come back.

kind regards  
Pshem

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [February 20, 2017, 2:45pm UTC](https://forum.ansible.com/t/reboot-with-ignore-errors-still-errors-out/23767/3 "2017-02-20T14:45:39Z")

</div>

ignore error will not avoid connection errors, only task errors, so  
'UNREACHABLE' will not be captured by it.
