]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
vmhost: Allow task to fail but ignore errors 350/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 15 Nov 2017 15:53:04 +0000 (10:53 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 15 Nov 2017 15:53:04 +0000 (10:53 -0500)
commit9d049dfdc82355b50dadca53e02b03e548eeb26d
treeb660ea21da9525f155454c5c847359f3732bc9ff
parent79a926cc2d3ca33d7345446a1e491d05f0d2f393
vmhost: Allow task to fail but ignore errors

With a recent update to ansible, the changed task would never return a
'failed' result with `failed_when` set.  `ignore_errors` is what we want
so the task fails but the playbook proceeds.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/vmhost/tasks/libvirt.yml