Update vmware_check_snapshot.yml
This commit is contained in:
@@ -3,13 +3,12 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: Gather snapshot information about the virtual machine in the given vCenter
|
- name: Gather snapshot information about the virtual machine in the given vCenter
|
||||||
community.vmware.vmware_guest_snapshot_info:
|
community.vmware.vmware_guest_snapshot_info:
|
||||||
hostname: "{{ vcenter_hostname }}"
|
hostname: "{{ lookup('env', 'VMWARE_HOST') }}"
|
||||||
username: "{{ vcenter_username }}"
|
username: "{{ lookup('env', 'VMWARE_USER') }}"
|
||||||
password: "{{ vcenter_password }}"
|
password: "{{ lookup('env', 'VMWARE_PASSWORD') }}"
|
||||||
datacenter: "{{ datacenter_name }}"
|
datacenter: "{{ esxi_host }}"
|
||||||
uuid: "{{ vm_uuid }}"
|
uuid: "{{ vm_uuid }}"
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
register: snapshot_info
|
register: snapshot_info
|
||||||
Reference in New Issue
Block a user