diff --git a/vmware_check_snapshot.yml b/vmware_check_snapshot.yml new file mode 100644 index 0000000..b7ba7c8 --- /dev/null +++ b/vmware_check_snapshot.yml @@ -0,0 +1,15 @@ +--- +- name: Get Snapshot infos. + hosts: all + + tasks: + + - name: Gather snapshot information about the virtual machine in the given vCenter + community.vmware.vmware_guest_snapshot_info: + hostname: "{{ vcenter_hostname }}" + username: "{{ vcenter_username }}" + password: "{{ vcenter_password }}" + datacenter: "{{ datacenter_name }}" + uuid: "{{ vm_uuid }}" + delegate_to: localhost + register: snapshot_info \ No newline at end of file