ignore error will not avoid connection errors, only task errors, so
'UNREACHABLE' will not be captured by it.
On Sun, Feb 19, 2017 at 2:30 AM, Pshem Kowalczyk wrote:
> Hi,
>
> Perhaps not directly answering your question - but a workaround I used in a
> number of playbooks
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
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
---
- hosts: osds
serial: 1
tasks:
- name: Set the noout flag
command: ceph osd set noout
- name: Reboot the server
command: