Skip to content

Commit 6043c60

Browse files
committed
Convert double when to list
1 parent 2185458 commit 6043c60

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tasks/install.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
yum:
2121
name: epel-release
2222
state: installed
23-
when: libvirt_host_qemu_emulators | length > 0
2423
become: True
25-
when: ansible_os_family == "RedHat"
24+
when:
25+
- ansible_os_family == "RedHat"
26+
- libvirt_host_qemu_emulators | length > 0
2627

2728
- name: Ensure QEMU emulator packages are installed
2829
package:

0 commit comments

Comments
 (0)