Skip to content

Commit 5fc50f6

Browse files
committed
fix guest_info target running on simulator
1 parent 96c888f commit 5fc50f6

File tree

1 file changed

+1
-1
lines changed
  • tests/integration/targets/vmware_guest_info/tasks

1 file changed

+1
-1
lines changed

tests/integration/targets/vmware_guest_info/tasks/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
username: "{{ vcenter_username }}"
77
password: "{{ vcenter_password }}"
88
port: "{{ vcenter_port }}"
9-
guest_name: "{{ vm_name | d(omit) }}"
9+
guest_name: "{{ (run_on_simulator) | ternary(omit, vm_name) }}"
1010
register: __res
1111

1212
- name: Assert values

0 commit comments

Comments
 (0)