mirror of
https://github.com/oVirt/ovirt-ansible-infra.git
synced 2026-02-05 09:45:01 +01:00
oVirt Datacenter Cleanup
The oVirt.datacenter-cleanup role is used to cleanup all entities inside
oVirt datacenters and finally remove the datacenters themselves.
Requirements
- oVirt Python SDK version 4
- Ansible version 2.4
Role Variables
| Name | Default value | Description |
|---|---|---|
| data_center_name | UNDEF | Name of the data center. |
| format_storages | false | Whether role should format storages when removing them. |
Dependencies
No.
Example Playbook
- name: oVirt infra
hosts: localhost
connection: local
gather_facts: false
vars:
data_center_name: mydatacenter
format_storages: true
roles:
- ovirt.infra/roles/ovirt.datacenter-cleanup
License
Apache License 2.0