From 5c85b2d891ed655d70d7e579e7b6430fba816e3d Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sat, 12 Feb 2022 18:32:12 +0100 Subject: [PATCH] proxmox_kvm: add win11 to ostype (#4191) (#4193) * proxmox_kvm: add win11 to ostype * add changelog fragment * Update changelogs/fragments/4191-proxmox-add-win11.yml Co-authored-by: Felix Fontein (cherry picked from commit 00cab64f7abb687cc2abf600843477e3f4484308) Co-authored-by: Andrea Ghensi --- changelogs/fragments/4191-proxmox-add-win11.yml | 2 ++ plugins/modules/cloud/misc/proxmox_kvm.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 changelogs/fragments/4191-proxmox-add-win11.yml diff --git a/changelogs/fragments/4191-proxmox-add-win11.yml b/changelogs/fragments/4191-proxmox-add-win11.yml new file mode 100644 index 0000000000..ef7297d51e --- /dev/null +++ b/changelogs/fragments/4191-proxmox-add-win11.yml @@ -0,0 +1,2 @@ +minor_changes: + - proxmox_kwm - add ``win11`` to ``ostype`` parameter for Windows 11 and Windows Server 2022 support (https://github.com/ansible-collections/community.general/issues/4023, https://github.com/ansible-collections/community.general/pull/4191). diff --git a/plugins/modules/cloud/misc/proxmox_kvm.py b/plugins/modules/cloud/misc/proxmox_kvm.py index 07c5e42185..9e39aecd25 100644 --- a/plugins/modules/cloud/misc/proxmox_kvm.py +++ b/plugins/modules/cloud/misc/proxmox_kvm.py @@ -286,7 +286,7 @@ options: - The l26 is Linux 2.6/3.X Kernel. - This option has no default unless I(proxmox_default_behavior) is set to C(compatiblity); then the default is C(l26). type: str - choices: ['other', 'wxp', 'w2k', 'w2k3', 'w2k8', 'wvista', 'win7', 'win8', 'win10', 'l24', 'l26', 'solaris'] + choices: ['other', 'wxp', 'w2k', 'w2k3', 'w2k8', 'wvista', 'win7', 'win8', 'win10', 'win11', 'l24', 'l26', 'solaris'] parallel: description: - A hash/dictionary of map host parallel devices. C(parallel='{"key":"value", "key":"value"}'). @@ -996,7 +996,7 @@ def main(): numa=dict(type='dict'), numa_enabled=dict(type='bool'), onboot=dict(type='bool'), - ostype=dict(choices=['other', 'wxp', 'w2k', 'w2k3', 'w2k8', 'wvista', 'win7', 'win8', 'win10', 'l24', 'l26', 'solaris']), + ostype=dict(choices=['other', 'wxp', 'w2k', 'w2k3', 'w2k8', 'wvista', 'win7', 'win8', 'win10', 'win11', 'l24', 'l26', 'solaris']), parallel=dict(type='dict'), pool=dict(type='str'), protection=dict(type='bool'),