cleanup descriptions
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Robert Kaussow 2021-05-27 16:59:35 +02:00
parent 855860da0a
commit 31f657a3fa
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -13,7 +13,6 @@ module: proxmox_kvm
short_description: Management of Qemu(KVM) Virtual Machines in Proxmox VE cluster. short_description: Management of Qemu(KVM) Virtual Machines in Proxmox VE cluster.
description: description:
- Allows you to create/delete/stop Qemu(KVM) Virtual Machines in Proxmox VE cluster. - Allows you to create/delete/stop Qemu(KVM) Virtual Machines in Proxmox VE cluster.
- From xoxys.general 4.0.0 on, there will be no default values, see I(proxmox_default_behavior).
author: "Abdoul Bah (@helldorado) <bahabdoul at gmail.com>" author: "Abdoul Bah (@helldorado) <bahabdoul at gmail.com>"
options: options:
acpi: acpi:
@ -32,7 +31,6 @@ options:
- This option is for experts only! - This option is for experts only!
- If I(proxmox_default_behavior) is set to C(compatiblity) (the default value), this - If I(proxmox_default_behavior) is set to C(compatiblity) (the default value), this
option has a default of C(-serial unix:/var/run/qemu-server/<vmid>.serial,server,nowait). option has a default of C(-serial unix:/var/run/qemu-server/<vmid>.serial,server,nowait).
Note that the default value of I(proxmox_default_behavior) changes in xoxys.general 4.0.0.
type: str type: str
autostart: autostart:
description: description:
@ -143,7 +141,6 @@ options:
- If I(proxmox_default_behavior) is set to C(compatiblity) (the default value), this - If I(proxmox_default_behavior) is set to C(compatiblity) (the default value), this
option has a default of C(qcow2). If I(proxmox_default_behavior) is set to C(no_defaults), option has a default of C(qcow2). If I(proxmox_default_behavior) is set to C(no_defaults),
not specifying this option is equivalent to setting it to C(unspecified). not specifying this option is equivalent to setting it to C(unspecified).
Note that the default value of I(proxmox_default_behavior) changes in xoxys.general 4.0.0.
type: str type: str
choices: [ "cloop", "cow", "qcow", "qcow2", "qed", "raw", "vmdk", "unspecified" ] choices: [ "cloop", "cow", "qcow", "qcow2", "qed", "raw", "vmdk", "unspecified" ]
freeze: freeze:
@ -1143,13 +1140,6 @@ def main():
if module.params["proxmox_default_behavior"] is None: if module.params["proxmox_default_behavior"] is None:
module.params["proxmox_default_behavior"] = "compatibility" module.params["proxmox_default_behavior"] = "compatibility"
module.deprecate(
"The proxmox_default_behavior option will change its default value from "
"'compatibility' to 'no_defaults' in xoxys.general 4.0.0. "
"To remove this warning, please specify an explicit value for it now ",
version="4.0.0",
collection_name="xoxys.general"
)
if module.params["proxmox_default_behavior"] == "compatibility": if module.params["proxmox_default_behavior"] == "compatibility":
old_default_values = dict( old_default_values = dict(
acpi=True, acpi=True,