[GATE UNBLOCKER] Fix virsh default network removal

With updated version of libvirt the default network is created but
is not enabled. Because the default has changed the virsh command
to disable the network is raising an error because the network is
already disabled. To resolve this we added "failed_when: false"
to the default network disable task.

Change-Id: I198db581db22655dc8791ba40a77a39b362c1b73
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2016-06-04 13:44:37 -05:00 committed by Kevin Carter (cloudnull)
parent 118c12c8c2
commit 3a683a0c64

View File

@ -22,6 +22,7 @@
- name: Disable libvirt default network
command: "virsh net-autostart default --disable"
failed_when: false
when: default_net.stdout|search('default')
tags:
- nova-kvm