Member-only story

Delete a VMware Virtual Machine Snapshot — Ansible module vmware_guest_snapshot

How to automate the delete of snapshot named “Ansible Managed Snapshot” in a VMware Virtual Machine “myvm” Ansible Playbook and vmware_guest_snapshot module.

Luca Berton
5 min readMay 18, 2022

How to Delete a VMware Virtual Machine Snapshot with Ansible?

I’m going to show you a live demo and some simple Ansible code.

I’m Luca Berton and welcome to today’s episode of Ansible Pilot.

Ansible Delete a VMware Virtual Machine Snapshot

  • `community.vmware.vmware_guest_snapshot`
  • Manages virtual machines snapshots in vCenter

Let’s talk about the Ansible module `vmware_guest_snapshot`.

The full name is `community.vmware.vmware_guest_snapshot`, which means that is part of the collection of modules to interact with VMware, community-supported.

It manages virtual machine snapshots in vCenter.

Parameters

  • hostname string / username…

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet