software-infrastructure/test.yaml
2024-10-10 11:37:23 -04:00

14 lines
345 B
YAML

---
- name: Create a copy of an existing qcow2 image
hosts: localhost
gather_facts: no
tasks:
- name: Create a new qcow2 image from an existing one
libvirt_volume:
name: new-image.qcow2
source: /home/eric/Downloads/debian-12-nocloud-amd64.qcow2
pool: default
format: qcow2
state: present