Fix libvirt-volume error conditional
The libvirt-volume error conditional does not register errors when it fails to create a volume due to an incorrect stdout check. This change fixes the conditional. Change-Id: I436324a22accf75a353c65ef3852838e992414e8 Signed-off-by: Drew Walters <andrew.walters@att.com>
This commit is contained in:
parent
996fa6f231
commit
e0d612f437
@ -55,8 +55,8 @@
|
||||
register: libvirt_create_volume
|
||||
failed_when:
|
||||
- "libvirt_create_volume.rc != 0"
|
||||
- "'exists already' not in libvirt_create_volume.stderr"
|
||||
- "'exists already' not in libvirt_create_volume.stdout"
|
||||
- "'exists already' in libvirt_create_volume.stderr"
|
||||
- "'exists already' in libvirt_create_volume.stdout"
|
||||
changed_when:
|
||||
- "libvirt_create_volume.rc != 1"
|
||||
- "'exists already' not in libvirt_create_volume.stderr"
|
||||
|
Loading…
Reference in New Issue
Block a user