summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/vmware_guest_find
diff options
context:
space:
mode:
authorpratikgadiya12 <pratikgadiya12@users.noreply.github.com>2019-08-26 20:45:34 +0200
committerGonéri Le Bouder <goneri@lebouder.net>2019-08-26 20:45:34 +0200
commit8ee7d9f5981744a3c8d04cd58849a1bc49d96016 (patch)
tree294ed2789a21606ad47bb30cbfcde89598361b16 /test/integration/targets/vmware_guest_find
parentRedfish modules: rename _facts -> _info (#60992) (diff)
downloadansible-8ee7d9f5981744a3c8d04cd58849a1bc49d96016.tar.xz
ansible-8ee7d9f5981744a3c8d04cd58849a1bc49d96016.zip
VMWare - Rename _facts to _info (#57474)
Deprecate vmware's _facts modules and add new modules. Fixes: #57278
Diffstat (limited to 'test/integration/targets/vmware_guest_find')
-rw-r--r--test/integration/targets/vmware_guest_find/tasks/main.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/integration/targets/vmware_guest_find/tasks/main.yml b/test/integration/targets/vmware_guest_find/tasks/main.yml
index d1e635a86a..3398d24b2d 100644
--- a/test/integration/targets/vmware_guest_find/tasks/main.yml
+++ b/test/integration/targets/vmware_guest_find/tasks/main.yml
@@ -32,7 +32,7 @@
with_items: "{{ folders.results }}"
- name: get fact of the first VM
- vmware_guest_facts:
+ vmware_guest_info:
validate_certs: False
hostname: "{{ vcenter_hostname }}"
username: "{{ vcenter_username }}"
@@ -40,9 +40,9 @@
datacenter: "{{ dc1 }}"
name: "{{ virtual_machines[0].name }}"
folder: "{{ virtual_machines[0].folder }}"
- register: guest_facts_0001
+ register: guest_info_0001
-- debug: var=guest_facts_0001
+- debug: var=guest_info_0001
- name: find folders for each vm using UUID
vmware_guest_find:
@@ -50,7 +50,7 @@
hostname: "{{ vcenter_hostname }}"
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
- uuid: "{{ guest_facts_0001['instance']['hw_product_uuid'] }}"
+ uuid: "{{ guest_info_0001['instance']['hw_product_uuid'] }}"
register: folder_uuid
- debug: var=folder_uuid