Skip to content

Snapshot for Ansible groups (Linux only)

Go to Automation

View in GitLab

Description

This automation script creates or deletes snapshots for a group of virtual machines in a VMware environment. It supports creating snapshots with quiesce and removing snapshots based on comments.

Credentials

  • sys_ansible_vmware

Input

Variable Description
target Comma-separated list of target VMs
snapshot_action Action to perform (create or removebycomment)
vm_snapshot Name of the snapshot
vcenter_username vCenter username
vcenter_password vCenter password

Output

None

Dependencies