| 1 |
ancestor: null |
| 2 |
releases: |
| 3 |
1.0.0: |
| 4 |
changes: |
| 5 |
major_changes: |
| 6 |
- added generic libvirt inventory plugin |
| 7 |
- removed libvirt_lxc inventory script |
| 8 |
fragments: |
| 9 |
- 23-inventory.yml |
| 10 |
release_date: '2020-08-18' |
| 11 |
1.0.1: |
| 12 |
changes: |
| 13 |
bugfixes: |
| 14 |
- libvirt_qemu - Mitigate a CPU hammering active wait loop |
| 15 |
- libvirt_qemu - add import error handling |
| 16 |
- virt - Correctly get the error message from libvirt |
| 17 |
- virt - Return "changed" status when using "define" command and domain XML |
| 18 |
was updated |
| 19 |
- virt - The define action searchs for the domain name into the xml definition |
| 20 |
to determine if the domain needs to be created or updated. The xml variable |
| 21 |
contains the parsed definition but doesn't guarantee the existence of the |
| 22 |
name tag. This change targets to fix the scenario where the xml var is not |
| 23 |
empty but doesn't contain a name tag. |
| 24 |
- virt_net - The name parameter is not required for the list_nets or facts command |
| 25 |
so we adjust the module to allow for that. |
| 26 |
fragments: |
| 27 |
- 43-virt-define-fail.yml |
| 28 |
- 48-virt-detect-domain-update.yml |
| 29 |
- 54-virt_net-optional-name.yml |
| 30 |
- 55-virt-message-property.yml |
| 31 |
- 59-libvirt_qemu-import-error-handling.yml |
| 32 |
- 61-libvirt_qemu-mitigate-cpu-spike.yml |
| 33 |
release_date: '2021-03-05' |
| 34 |
1.0.2: |
| 35 |
changes: |
| 36 |
bugfixes: |
| 37 |
- libvirt inventory plugin - Use FQCN for the inventory plugin name for compatibility |
| 38 |
with Ansible 2.10 and above (https://github.com/ansible-collections/community.libvirt/pull/73). |
| 39 |
release_summary: 'This is the patch release of the ``community.libvirt`` collection. |
| 40 |
|
| 41 |
This changelog contains all changes to the modules and plugins in this collection |
| 42 |
|
| 43 |
that have been made after release 1.0.1.' |
| 44 |
fragments: |
| 45 |
- 1.0.2.yml |
| 46 |
- 73-plugin-name-fqcn.yaml |
| 47 |
release_date: '2021-07-22' |
| 48 |
1.1.0: |
| 49 |
changes: |
| 50 |
bugfixes: |
| 51 |
- replace deprecated ``distutils.spawn.find_executable`` with Ansible's ``get_bin_path`` |
| 52 |
in ``_search_executable`` function. |
| 53 |
release_summary: 'This is the minor release of the ``community.libvirt`` collection. |
| 54 |
|
| 55 |
This changelog contains all changes to the modules and plugins in this collection |
| 56 |
|
| 57 |
that have been made after the previous release 1.0.2.' |
| 58 |
fragments: |
| 59 |
- 1.1.0.yml |
| 60 |
- 114_replace_distutils_spawn.yml |
| 61 |
- 90_add_integration_test_for_virt_pool.yml |
| 62 |
release_date: '2022-05-12' |
| 63 |
1.2.0: |
| 64 |
changes: |
| 65 |
bugfixes: |
| 66 |
- virt_net - fix modify function which was not idempotent, depending on whether |
| 67 |
the network was active. See https://github.com/ansible-collections/community.libvirt/issues/107. |
| 68 |
- virt_pool - crashed out if pool didn't contain a target path. Fix allows this |
| 69 |
not to be set. (https://github.com/ansible-collections/community.libvirt/issues/129). |
| 70 |
minor_changes: |
| 71 |
- libvirt - add extra guest information to inventory (https://github.com/ansible-collections/community.libvirt/pull/113). |
| 72 |
- libvirt - replace the calls to listDomainsID() and listDefinedDomains() with |
| 73 |
listAllDomains() in find_vm() (https://github.com/ansible-collections/community.libvirt/pull/117) |
| 74 |
release_summary: 'This is the minor release of the ``community.libvirt`` collection. |
| 75 |
|
| 76 |
This changelog contains all changes to the modules and plugins in this collection |
| 77 |
|
| 78 |
that have been made after the previous release.' |
| 79 |
fragments: |
| 80 |
- 1.2.0.yml |
| 81 |
- 108_make_virt_net_modify_idempotent.yml |
| 82 |
- 113_extra_inventory_info.yml |
| 83 |
- 117_find_vms_update_calls.yml |
| 84 |
- virt_pool_no_path.yml |
| 85 |
release_date: '2022-08-04' |
| 86 |
1.3.0: |
| 87 |
changes: |
| 88 |
bugfixes: |
| 89 |
- libvirt_qemu - connection plugin threw a warning about an improperly configured |
| 90 |
remote target. Fix adds `inventory_hostname` to `options.remote_addr.vars` |
| 91 |
(https://github.com/ansible-collections/community.libvirt/pull/147). |
| 92 |
- libvirt_qemu - fix encoding errors on Windows guests for non-ASCII return |
| 93 |
values (https://github.com/ansible-collections/community.libvirt/pull/157) |
| 94 |
- virt - fix virt module to undefine a domain with nvram, managed_save, snapshot_metadata |
| 95 |
or checkpoints_metadata (https://github.com/ansible-collections/community.libvirt/issues/40). |
| 96 |
- virt_pool - replace discouraged function ``listAllVolumes`` with ``listAllVolumes`` |
| 97 |
to fix potential race conditions (https://github.com/ansible-collections/community.libvirt/pull/135). |
| 98 |
- virt_pool - replace discouraged functions ``listStoragePools`` and ``listDefinedStoragePools`` |
| 99 |
with ``listAllStoragePools`` to fix potential race conditions (https://github.com/ansible-collections/community.libvirt/pull/134). |
| 100 |
minor_changes: |
| 101 |
- virt - add `mutate_flags` parameter to enable XML mutation (add UUID, MAC |
| 102 |
addresses from existing domain) (https://github.com/ansible-collections/community.libvirt/pull/142/). |
| 103 |
- virt - support ``--diff`` for ``define`` command (https://github.com/ansible-collections/community.libvirt/pull/142/). |
| 104 |
release_summary: 'This is a new release of the ``community.libvirt`` collection. |
| 105 |
|
| 106 |
This changelog contains all changes to the modules and plugins in this collection |
| 107 |
|
| 108 |
that have been made after the previous release.' |
| 109 |
fragments: |
| 110 |
- 1.3.0.yml |
| 111 |
- 134_virt_pool_replace_functions_listStoragePools.yml |
| 112 |
- 135_virt_pool_replace_function_listVolumes.yml |
| 113 |
- 136_fix_undefine_nvram.yml |
| 114 |
- 142_virt_define_improvements.yml |
| 115 |
- 147_fix_qemu_remote_target_warning.yml |
| 116 |
- 156_fix_windows_encoding.yml |
| 117 |
release_date: '2023-09-19' |
| 118 |
1.3.1: |
| 119 |
changes: |
| 120 |
bugfixes: |
| 121 |
- libvirt_lxc - add configuration for libvirt_lxc_noseclabel. |
| 122 |
release_summary: 'This is the patch release of the ``community.libvirt`` collection. |
| 123 |
|
| 124 |
This changelog contains all changes to the modules and plugins in this collection |
| 125 |
|
| 126 |
that have been made after the previous release.' |
| 127 |
fragments: |
| 128 |
- 0-readme.yml |
| 129 |
- 1.3.1.yml |
| 130 |
- libvirt_lxc.yml |
| 131 |
release_date: '2024-12-17' |
| 132 |
1.4.0: |
| 133 |
changes: |
| 134 |
minor_changes: |
| 135 |
- virt - implement basic check mode functionality (https://github.com/ansible-collections/community.libvirt/issue/98) |
| 136 |
- virt - implement the gathering of Dom UUIDs as per FR https://github.com/ansible-collections/community.libvirt/issues/187 |
| 137 |
- virt - implement the gathering of Dom interface names and mac addresses as |
| 138 |
per FR https://github.com/ansible-collections/community.libvirt/issues/189 |
| 139 |
- virt - implement the removal of volumes for a dom as per FR https://github.com/ansible-collections/community.libvirt/issues/177 |
| 140 |
release_summary: 'This is the minor release of the ``community.libvirt`` collection. |
| 141 |
|
| 142 |
This changelog contains all changes to the modules and plugins in this collection |
| 143 |
|
| 144 |
that have been made after the previous release.' |
| 145 |
fragments: |
| 146 |
- 1.4.0.yml |
| 147 |
- 177-undefine-disks.yaml |
| 148 |
- 183-check-mode.yml |
| 149 |
- 187-add-uuid.yaml |
| 150 |
- 189-add-interfaces.yaml |
| 151 |
modules: |
| 152 |
- description: Manage libvirt volumes inside a storage pool |
| 153 |
name: virt_volume |
| 154 |
namespace: '' |
| 155 |
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' |
| 203 |
2.1.0: |
| 204 |
changes: |
| 205 |
bugfixes: |
| 206 |
- virt_install - fixed cloud_init configuration handling for meta-data, user-data, |
| 207 |
and network-config. |
| 208 |
- virt_install - fixed the dict-based options handling for events, resource, |
| 209 |
and sysinfo options. |
| 210 |
minor_changes: |
| 211 |
- virt_install - added support for memoryBacking source type configuration, |
| 212 |
including memfd for shared memory (https://github.com/ansible-collections/community.libvirt/issues/228). |
| 213 |
- virt_install - added support for primary value attribute (_value or value) |
| 214 |
in dynamic dict options that require a primary value alongside additional |
| 215 |
attributes. |
| 216 |
- virt_install - enhanced cloud_init configuration handling for sub-options |
| 217 |
(meta-data, user-data, and network-config) to support both string and dictionary |
| 218 |
inputs. |
| 219 |
- virt_install - refactored common virt-install functionality into module_utils |
| 220 |
and doc_fragments to enable code reuse between modules. |
| 221 |
- virt_volume - New return key/value pairs 'Type', 'Capacity' and 'Allocation' |
| 222 |
were added to command 'list_volumes' (https://github.com/ansible-collections/community.libvirt/issues/187) |
| 223 |
- virt_volume - added ability to resize volumes if defined capacity is different. |
| 224 |
If volume already exists and defined capacity in XML differs a resize is attempted. |
| 225 |
release_summary: 'This is the minor release of the ``community.libvirt`` collection. |
| 226 |
|
| 227 |
This changelog contains all changes to the modules and plugins in this collection |
| 228 |
|
| 229 |
that have been made after the previous release.' |
| 230 |
fragments: |
| 231 |
- 212_fix_list_volumes.yml |
| 232 |
- 214-virt-install-improvement.yml |
| 233 |
- 225-primary-value-support.yml |
| 234 |
- 226-virt_volume-resize.yaml |
| 235 |
- 230-memorybacking-memfd-support.yml |
| 236 |
modules: |
| 237 |
- description: Provision new virtual machines from cloud images via libvirt |
| 238 |
name: virt_cloud_instance |
| 239 |
namespace: '' |
| 240 |
release_date: '2026-02-16' |
| 241 |
2.2.0: |
| 242 |
changes: |
| 243 |
bugfixes: |
| 244 |
- libvirt_qemu - Vendor ``_parse_clixml`` locally to fix ``ImportError`` on |
| 245 |
ansible-core devel (2.21+). |
| 246 |
minor_changes: |
| 247 |
- virt_cloud_instance - added commands return field to provide visibility into |
| 248 |
executed commands during VM provisioning. |
| 249 |
- virt_install - added commands return field to provide visibility into executed |
| 250 |
commands during VM provisioning. |
| 251 |
release_summary: 'This is the minor release of the ``community.libvirt`` collection. |
| 252 |
|
| 253 |
This changelog contains all changes to the modules and plugins in this collection |
| 254 |
|
| 255 |
that have been made after the previous release.' |
| 256 |
fragments: |
| 257 |
- 241-virt-install-commands.yml |
| 258 |
- 243-fix-libvirt_qemu-parse_clixml-import.yml |
| 259 |
release_date: '2026-03-29' |