Skip to content

Commit 23d7c2e

Browse files
committed
Second fix for examples/list_vms_with_ide_disk.yml
Signed-off-by: Justin Cinkelj <justin.cinkelj@xlab.si>
1 parent f57c136 commit 23d7c2e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/list_vms_with_ide_disk.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,6 @@
5454
- name: Fail if any VM uses IDE disk
5555
ansible.builtin.fail:
5656
msg: Found {{ ide_vm_names | length }} VMs using IDE disk
57-
when: ide_vm_names | length > 0
57+
when: ide_vm_names | length >s 0
58+
# VMs with IDE disks are created while testing. Ignore them if testing.
59+
ignore_errors: "{{ hypercore_example_check_mode | default(false) }}"

0 commit comments

Comments
 (0)