vmware_guest_register_operation/test: no deprecated mod (#67411)

Don't use `vmware_guest_facts` to collect the Guest information. The
module is deprecated and replaced by `vmware_guest_info`.
This commit is contained in:
Gonéri Le Bouder 2020-02-14 00:47:15 -05:00 committed by GitHub
parent 5ca7a9ea26
commit 0c597f4434
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@
- block:
- name: gather facts of vm
vmware_guest_facts:
vmware_guest_info:
hostname: "{{ vcenter_hostname }}"
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
@ -218,7 +218,7 @@
| length == 1
- name: Gather facts of vm
vmware_guest_facts:
vmware_guest_info:
hostname: "{{ vcenter_hostname }}"
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"