Skip to content

Commit d27e654

Browse files
authored
Release 2.0.0 commit (ansible-collections#206)
1 parent 29375b6 commit d27e654

File tree

5 files changed

+92
-18
lines changed

5 files changed

+92
-18
lines changed

CHANGELOG.rst

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,49 @@ Community.Libvirt Release Notes
44

55
.. contents:: Topics
66

7+
v2.0.0
8+
======
9+
10+
Release Summary
11+
---------------
12+
13+
This is a major release of the ``community.libvirt`` collection.
14+
This changelog contains all changes to the modules and plugins in this collection
15+
that have been made after the previous release.
16+
17+
Major Changes
18+
-------------
19+
20+
- virt_volume - a new command 'create_cidata_cdrom' enables the creation of a cloud-init CDROM, which can be attached to a cloud-init enabled base image, for bootstrapping networking, users etc.
21+
- virt_volume - the commands create_from, delete, download, info, resize, upload, wipe, facts did not work and were not tested. They have either been refactored to work, and tested, or removed.
22+
- virt_volume - the mechanism of passing variables to the member functions was not flexible enough to cope with differing parameter requirements. All parameters are now passed as kwargs, which allows the member functions to select the parameters they need.
23+
- virt_volume - the module appears to have been derived from virt_pool, but not cleaned up to remove much non-functional code. It has been refactored to remove the pool-specific code, and to make it more flexible.
24+
25+
Removed Features (previously deprecated)
26+
----------------------------------------
27+
28+
- virt_volume - PoolConnection class has been removed
29+
- virt_volume - the 'deleted' state has been removed as its definition was not entirely accurate, and the 'wipe' boolean option is added to 'state/absent' and 'command/delete'.
30+
- virt_volume - undocumented but unused FLAGS have been removed.
31+
- virt_volume - undocumented but unused/non-functional functions (get_status, get_status2, get_state, get_uuid, build) have been removed.
32+
33+
Bugfixes
34+
--------
35+
36+
- virt_volume - create_from was non-functional, and is now folded into create (added clone_source parameter). Fixes
37+
- virt_volume - info, facts, download, upload commands have been removed as they were not functional (and not tested).
38+
- virt_volume - wipe command now works (and is also a boolean option for 'state/absent' and 'command/delete').
39+
40+
Known Issues
41+
------------
42+
43+
- virt_volume - check_mode is disabled. It was not fully supported in the previous code either ('state/present', 'command/create' did not support it).
44+
45+
New Modules
46+
-----------
47+
48+
- community.libvirt.virt_install - Provision new virtual machines using virt-install tool
49+
750
v1.4.0
851
======
952

changelogs/changelog.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,50 @@ releases:
153153
name: virt_volume
154154
namespace: ''
155155
release_date: '2025-05-26'
156+
2.0.0:
157+
changes:
158+
bugfixes:
159+
- virt_volume - create_from was non-functional, and is now folded into create
160+
(added clone_source parameter). Fixes
161+
- virt_volume - info, facts, download, upload commands have been removed as
162+
they were not functional (and not tested).
163+
- virt_volume - wipe command now works (and is also a boolean option for 'state/absent'
164+
and 'command/delete').
165+
known_issues:
166+
- virt_volume - check_mode is disabled. It was not fully supported in the previous
167+
code either ('state/present', 'command/create' did not support it).
168+
major_changes:
169+
- virt_volume - a new command 'create_cidata_cdrom' enables the creation of
170+
a cloud-init CDROM, which can be attached to a cloud-init enabled base image,
171+
for bootstrapping networking, users etc.
172+
- virt_volume - the commands create_from, delete, download, info, resize, upload,
173+
wipe, facts did not work and were not tested. They have either been refactored
174+
to work, and tested, or removed.
175+
- virt_volume - the mechanism of passing variables to the member functions was
176+
not flexible enough to cope with differing parameter requirements. All parameters
177+
are now passed as kwargs, which allows the member functions to select the
178+
parameters they need.
179+
- virt_volume - the module appears to have been derived from virt_pool, but
180+
not cleaned up to remove much non-functional code. It has been refactored
181+
to remove the pool-specific code, and to make it more flexible.
182+
release_summary: 'This is a major release of the ``community.libvirt`` collection.
183+
184+
This changelog contains all changes to the modules and plugins in this collection
185+
186+
that have been made after the previous release.'
187+
removed_features:
188+
- virt_volume - PoolConnection class has been removed
189+
- virt_volume - the 'deleted' state has been removed as its definition was not
190+
entirely accurate, and the 'wipe' boolean option is added to 'state/absent'
191+
and 'command/delete'.
192+
- virt_volume - undocumented but unused FLAGS have been removed.
193+
- virt_volume - undocumented but unused/non-functional functions (get_status,
194+
get_status2, get_state, get_uuid, build) have been removed.
195+
fragments:
196+
- 2.0.0.yml
197+
- 200-refactor-virt_volume.yml
198+
modules:
199+
- description: Provision new virtual machines using virt-install tool
200+
name: virt_install
201+
namespace: ''
202+
release_date: '2025-07-21'

changelogs/fragments/200-refactor-virt_volume.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace: community
22
name: libvirt
3-
version: 1.4.1
3+
version: 2.0.0
44
readme: README.md
55
authors:
66
- Ansible (https://github.com/ansible)

plugins/modules/virt_install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
DOCUMENTATION = """
1212
---
1313
module: virt_install
14-
version_added: 1.5.0
14+
version_added: 2.0.0
1515
author: "Joey Zhang (@thinkdoggie)"
1616
short_description: Provision new virtual machines using virt-install tool
1717
description:

0 commit comments

Comments
 (0)