Merge branch 'master' of http://donotos@git.donotos.eu/donotos/ansible-project.git
This commit is contained in:
14
vmware_check_snapshot.yml
Normal file
14
vmware_check_snapshot.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- 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: "{{ lookup('env', 'VMWARE_HOST') }}"
|
||||
username: "{{ lookup('env', 'VMWARE_USER') }}"
|
||||
password: "{{ lookup('env', 'VMWARE_PASSWORD') }}"
|
||||
datacenter: "{{ esxi_host }}"
|
||||
uuid: "{{ vm_uuid }}"
|
||||
delegate_to: localhost
|
||||
register: snapshot_info
|
||||
Reference in New Issue
Block a user