We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96c888f commit 784a6e1Copy full SHA for 784a6e1
tests/integration/targets/vmware_guest_info/tasks/main.yml
@@ -6,8 +6,19 @@
6
username: "{{ vcenter_username }}"
7
password: "{{ vcenter_password }}"
8
port: "{{ vcenter_port }}"
9
- guest_name: "{{ vm_name | d(omit) }}"
10
register: __res
+ when: run_on_simulator
11
+
12
+- name: Gather guest info
13
+ vmware.vmware.guest_info:
14
+ validate_certs: false
15
+ hostname: "{{ vcenter_hostname }}"
16
+ username: "{{ vcenter_username }}"
17
+ password: "{{ vcenter_password }}"
18
+ port: "{{ vcenter_port }}"
19
+ guest_name: "{{ vm_name }}"
20
+ register: __res
21
+ when: not run_on_simulator
22
23
- name: Assert values
24
ansible.builtin.assert:
0 commit comments