Skip to content

Commit

Permalink
fix guest_info target running on simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
elsapassaro authored and bardielle committed Jun 18, 2024
1 parent 5c45d78 commit 50c86e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/targets/vmware_guest_info/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
port: "{{ vcenter_port }}"
guest_name: "{{ vm_name | d(omit) }}"
guest_name: "{{ (run_on_simulator) | ternary(omit, vm_name) }}"
register: __res

- name: Assert values
Expand Down

0 comments on commit 50c86e7

Please sign in to comment.