community.general/changelogs/fragments
patchback[bot] 7a55295798
[PR #9847/96b003f9 backport][stable-10] Adding Audio device support to proxmox_kvm (#9887)
Adding Audio device support to proxmox_kvm (#9847)

* Add Audio device support to proxmox_kvm.py

Audio device was unsupported with message :
`FAILED! => {"changed": false, "msg": "Unsupported parameters for (community.general.proxmox_kvm) module: audio. Supported parameters include: acpi, agent, api_host, api_password, api_port, api_token_id, api_token_secret, api_user, archive, args, autostart, balloon, bios, boot, bootdisk, cicustom, cipassword, citype, ciupgrade, ciuser, clone, cores, cpu, cpulimit, cpuunits, delete, description, digest, efidisk0, force, format, freeze, full, hookscript, hostpci, hotplug, hugepages, ide, ipconfig, keyboard, kvm, localtime, lock, machine, memory, migrate, migrate_downtime, migrate_speed, name, nameservers, net, newid, node, numa, numa_enabled, onboot, ostype, parallel, pool, protection, reboot, revert, sata, scsi, scsihw, searchdomains, serial, shares, skiplock, smbios, snapname, sockets, sshkeys, startdate, startup, state, storage, tablet, tags, target, tdf, template, timeout, tpmstate0, update, update_unsafe, usb, validate_certs, vcpus, vga, virtio, vmid, watchdog."}`

With this patch it is possible to update proxmox VM config with an audio device.

```yaml
- name: Add Spice compatible audio device
  community.general.proxmox_kvm:
    api_user: "{{ api_user }}"
    api_password: "{{ api_password }}"
    api_host: "{{ api_host }}"
    node: "{{ node_name }}"
    vmid: "{{ proxmox_vmid }}"
    audio: '{"audio0":"device=ich9-intel-hda,driver=spice"}'
    update: true
  delegate_to: localhost
```

* Update plugins/modules/proxmox_kvm.py

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

* Update plugins/modules/proxmox_kvm.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/proxmox_kvm.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Create changelog fragment 9847-Adding_audio_device-support_to_proxmox_kvm.yml

* Update 9847-Adding_audio_device-support_to_proxmox_kvm.yml

Update following recommandations, thanks

* Update changelogs/fragments/9847-Adding_audio_device-support_to_proxmox_kvm.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 96b003f9af)

Co-authored-by: Croko-fr <62189784+Croko-fr@users.noreply.github.com>
2025-03-15 08:04:40 +01:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
9457-apache2-mod-proxy-revamp.yml [PR #9457/98b328c5 backport][stable-10] apache2_mod_proxy: big revamp (#9806) 2025-02-26 22:05:03 +01:00
9768-keycloak_realm-remove-id-requirement.yaml [PR #9768/4c11902f backport][stable-10] keycloak_realm: remove realm id requirement (#9810) 2025-02-27 21:59:36 +01:00
9777-homebrew-fix-crash-when-packages-include-tap.yml [PR #9803/c43289b8 backport][stable-10] homebrew: Do not crash when package names include tap prefix. (#9834) 2025-03-05 21:37:08 +01:00
9809-proxmox-fix-status-getter.yml [PR #9809/e39320c3 backport][stable-10] proxmox: fix status getter (#9817) 2025-03-01 11:30:52 +01:00
9818-cloudflare-dns-exhausted-response.yml [PR #9818/3b6efd5c backport][stable-10] cloudflare_dns: handle exhausted response stream in case of http error (#9823) 2025-03-03 07:24:12 +01:00
9821-systemd_info-add-wildcards.yml [PR #9821/3bd0ab4a backport][stable-10] systemd_info - add wildcards support (#9883) 2025-03-15 07:46:34 +01:00
9824-redfish-implement-obtaining-powerrestorepolicy.yml [PR #9824/129f51cf backport][stable-10] Redfish: implement obtaining PowerRestorePolicy (#9824) (#9825) 2025-03-03 21:15:22 +01:00
9836-option-for-http-agent-for-user-to-callback-slack.yml [PR #9836/941df094 backport][stable-10] Adds option for http agent for user in slack callback (#9866) 2025-03-10 18:12:18 +01:00
9837-redfish-implement-setting-powerrestorepolicy.yml [PR #9837/abe4e5ce backport][stable-10] Redfish: implement setting PowerRestorePolicy (#9878) 2025-03-12 20:06:02 +01:00
9845-consul_token_idempotency.yml [PR #9845/7d5357d7 backport][stable-10] Fix roles/policies normalization in consul_token. (#9863) 2025-03-10 06:30:54 +01:00
9847-Adding_audio_device-support_to_proxmox_kvm.yml [PR #9847/96b003f9 backport][stable-10] Adding Audio device support to proxmox_kvm (#9887) 2025-03-15 08:04:40 +01:00
9849-nmap_dns_servers.yml [PR #9849/add892aa backport][stable-10] NMAP Inventory Plugin: Added option for specifying DNS servers for name resolution (#9886) 2025-03-15 07:46:25 +01:00
dnf_versionlock.yml [PR #9846/86dea88c backport][stable-10] dnf_versionlock: add support for Fedora 41 and dnf5 (#9865) 2025-03-10 06:31:08 +01:00
sudoers.yml [PR #9871/dd0a2cbf backport][stable-10] sudoers: display stderr raised while validation (#9885) 2025-03-15 07:46:14 +01:00