Skip to content

Commit

Permalink
change list union issue (#314)
Browse files Browse the repository at this point in the history
Signed-off-by: dianew <dianew@vmware.com>
  • Loading branch information
Tomorrow9 authored May 24, 2022
1 parent 77a431d commit 6e3f740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux/device_list/vm_get_devices_with_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

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

Expand Down

0 comments on commit 6e3f740

Please sign in to comment.