From b665a65fea01e6cab646b015560ee473d356b5d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ne=C4=8Das?= Date: Wed, 10 Jun 2020 21:28:17 +0200 Subject: [PATCH] ovirt: update operating system options backport (#69449) * ovirt: update operating system options backport * add changelog --- .../fragments/69449_ovirt_update_os_options.yml | 2 ++ .../modules/cloud/ovirt/ovirt_instance_type.py | 16 +++++++++------- .../modules/cloud/ovirt/ovirt_template.py | 17 +++++++++-------- lib/ansible/modules/cloud/ovirt/ovirt_vm.py | 16 +++++++++------- 4 files changed, 29 insertions(+), 22 deletions(-) create mode 100644 changelogs/fragments/69449_ovirt_update_os_options.yml diff --git a/changelogs/fragments/69449_ovirt_update_os_options.yml b/changelogs/fragments/69449_ovirt_update_os_options.yml new file mode 100644 index 00000000000..0603e96c4b7 --- /dev/null +++ b/changelogs/fragments/69449_ovirt_update_os_options.yml @@ -0,0 +1,2 @@ +minor_changes: +- "ovirt: update operating system options" diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_instance_type.py b/lib/ansible/modules/cloud/ovirt/ovirt_instance_type.py index 63e0471c17b..c84f41c558a 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_instance_type.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_instance_type.py @@ -72,13 +72,15 @@ options: description: - Operating system of the Instance Type. - Default value is set by oVirt/RHV engine. - - "Possible values: debian_7, freebsd, freebsdx64, other, other_linux, - other_linux_ppc64, other_ppc64, rhel_3, rhel_4, rhel_4x64, rhel_5, rhel_5x64, - rhel_6, rhel_6x64, rhel_6_ppc64, rhel_7x64, rhel_7_ppc64, sles_11, sles_11_ppc64, - ubuntu_12_04, ubuntu_12_10, ubuntu_13_04, ubuntu_13_10, ubuntu_14_04, ubuntu_14_04_ppc64, - windows_10, windows_10x64, windows_2003, windows_2003x64, windows_2008, windows_2008x64, - windows_2008r2x64, windows_2008R2x64, windows_2012x64, windows_2012R2x64, windows_7, - windows_7x64, windows_8, windows_8x64, windows_xp" + - "Possible values: debian_7, freebsd, freebsdx64, other, other_linux, other_linux_kernel_4, + other_linux_ppc64, other_linux_s390x, other_ppc64, other_s390x, rhcos_x64, rhel_3, + rhel_3x64, rhel_4, rhel_4x64, rhel_5, rhel_5x64, rhel_6, rhel_6_9_plus_ppc64, + rhel_6_ppc64, rhel_6x64, rhel_7_ppc64, rhel_7_s390x, rhel_7x64, rhel_8x64, + rhel_atomic7x64, sles_11, sles_11_ppc64, sles_12_s390x, ubuntu_12_04, ubuntu_12_10, + ubuntu_13_04, ubuntu_13_10, ubuntu_14_04, ubuntu_14_04_ppc64, ubuntu_16_04_s390x, + windows_10, windows_10x64, windows_2003, windows_2003x64, windows_2008, + windows_2008R2x64, windows_2008x64, windows_2012R2x64, windows_2012x64, windows_2016x64, + windows_2019x64, windows_7, windows_7x64, windows_8, windows_8x64, windows_xp" boot_devices: description: - List of boot devices which should be used to boot. For example C([ cdrom, hd ]). diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_template.py b/lib/ansible/modules/cloud/ovirt/ovirt_template.py index d885d882376..edbb2d72c9e 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_template.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_template.py @@ -155,14 +155,15 @@ options: description: - Operating system of the template. - Default value is set by oVirt/RHV engine. - - "Possible values are: debian_7, freebsd, freebsdx64, other, other_linux, - other_linux_ppc64, other_ppc64, rhel_3, rhel_4, rhel_4x64, rhel_5, rhel_5x64, - rhel_6, rhel_6x64, rhel_6_ppc64, rhel_7x64, rhel_7_ppc64, sles_11, - sles_11_ppc64, ubuntu_12_04, ubuntu_12_10, ubuntu_13_04, ubuntu_13_10, - ubuntu_14_04, ubuntu_14_04_ppc64, windows_10, windows_10x64, windows_2003, - windows_2003x64, windows_2008, windows_2008x64, windows_2008r2x64, - windows_2008R2x64, windows_2012x64, windows_2012R2x64, - windows_7, windows_7x64, windows_8, windows_8x64, windows_xp" + - "Possible values: debian_7, freebsd, freebsdx64, other, other_linux, other_linux_kernel_4, + other_linux_ppc64, other_linux_s390x, other_ppc64, other_s390x, rhcos_x64, rhel_3, + rhel_3x64, rhel_4, rhel_4x64, rhel_5, rhel_5x64, rhel_6, rhel_6_9_plus_ppc64, + rhel_6_ppc64, rhel_6x64, rhel_7_ppc64, rhel_7_s390x, rhel_7x64, rhel_8x64, + rhel_atomic7x64, sles_11, sles_11_ppc64, sles_12_s390x, ubuntu_12_04, ubuntu_12_10, + ubuntu_13_04, ubuntu_13_10, ubuntu_14_04, ubuntu_14_04_ppc64, ubuntu_16_04_s390x, + windows_10, windows_10x64, windows_2003, windows_2003x64, windows_2008, + windows_2008R2x64, windows_2008x64, windows_2012R2x64, windows_2012x64, windows_2016x64, + windows_2019x64, windows_7, windows_7x64, windows_8, windows_8x64, windows_xp" version_added: "2.6" memory: description: diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_vm.py b/lib/ansible/modules/cloud/ovirt/ovirt_vm.py index 2560f5bb21b..d9fdd436b3c 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_vm.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_vm.py @@ -211,13 +211,15 @@ options: description: - Operating system of the Virtual Machine. - Default value is set by oVirt/RHV engine. - - "Possible values: debian_7, freebsd, freebsdx64, other, other_linux, - other_linux_ppc64, other_ppc64, rhel_3, rhel_4, rhel_4x64, rhel_5, rhel_5x64, - rhel_6, rhel_6x64, rhel_6_ppc64, rhel_7x64, rhel_7_ppc64, sles_11, sles_11_ppc64, - ubuntu_12_04, ubuntu_12_10, ubuntu_13_04, ubuntu_13_10, ubuntu_14_04, ubuntu_14_04_ppc64, - windows_10, windows_10x64, windows_2003, windows_2003x64, windows_2008, windows_2008x64, - windows_2008r2x64, windows_2008R2x64, windows_2012x64, windows_2012R2x64, windows_7, - windows_7x64, windows_8, windows_8x64, windows_xp" + - "Possible values: debian_7, freebsd, freebsdx64, other, other_linux, other_linux_kernel_4, + other_linux_ppc64, other_linux_s390x, other_ppc64, other_s390x, rhcos_x64, rhel_3, + rhel_3x64, rhel_4, rhel_4x64, rhel_5, rhel_5x64, rhel_6, rhel_6_9_plus_ppc64, + rhel_6_ppc64, rhel_6x64, rhel_7_ppc64, rhel_7_s390x, rhel_7x64, rhel_8x64, + rhel_atomic7x64, sles_11, sles_11_ppc64, sles_12_s390x, ubuntu_12_04, ubuntu_12_10, + ubuntu_13_04, ubuntu_13_10, ubuntu_14_04, ubuntu_14_04_ppc64, ubuntu_16_04_s390x, + windows_10, windows_10x64, windows_2003, windows_2003x64, windows_2008, + windows_2008R2x64, windows_2008x64, windows_2012R2x64, windows_2012x64, windows_2016x64, + windows_2019x64, windows_7, windows_7x64, windows_8, windows_8x64, windows_xp" boot_devices: description: - List of boot devices which should be used to boot. For example C([ cdrom, hd ]).