Skip to content

Commit 6e3f740

Browse files
authored
change list union issue (#314)
Signed-off-by: dianew <[email protected]>
1 parent 77a431d commit 6e3f740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linux/device_list/vm_get_devices_with_label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
- name: "Search all devices with label {{ device_label }}"
2727
set_fact:
28-
vm_devices_with_label: "{{ vm_devices_with_label }} + [{{ item }}]"
28+
vm_devices_with_label: "{{ vm_devices_with_label + [item] }}"
2929
with_items: "{{ vm_config.config.hardware.device }}"
3030
when: "device_label in item.deviceInfo.label"
3131

0 commit comments

Comments
 (0)