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:
parent
5ca7a9ea26
commit
0c597f4434
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: gather facts of vm
|
- name: gather facts of vm
|
||||||
vmware_guest_facts:
|
vmware_guest_info:
|
||||||
hostname: "{{ vcenter_hostname }}"
|
hostname: "{{ vcenter_hostname }}"
|
||||||
username: "{{ vcenter_username }}"
|
username: "{{ vcenter_username }}"
|
||||||
password: "{{ vcenter_password }}"
|
password: "{{ vcenter_password }}"
|
||||||
|
@ -218,7 +218,7 @@
|
||||||
| length == 1
|
| length == 1
|
||||||
|
|
||||||
- name: Gather facts of vm
|
- name: Gather facts of vm
|
||||||
vmware_guest_facts:
|
vmware_guest_info:
|
||||||
hostname: "{{ vcenter_hostname }}"
|
hostname: "{{ vcenter_hostname }}"
|
||||||
username: "{{ vcenter_username }}"
|
username: "{{ vcenter_username }}"
|
||||||
password: "{{ vcenter_password }}"
|
password: "{{ vcenter_password }}"
|
||||||
|
|
Loading…
Reference in a new issue