mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
proxmox_kvm: deprecate option proxmox_default_behavior (#7377)
* proxmox_kvm: deprecae option proxmox_default_behavior * add changelog frag
This commit is contained in:
parent
479e7df687
commit
e07f5e2f40
2 changed files with 8 additions and 1 deletions
2
changelogs/fragments/7377-proxmox-kvm-deprecate-flag.yml
Normal file
2
changelogs/fragments/7377-proxmox-kvm-deprecate-flag.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
deprecated_features:
|
||||||
|
- proxmox_kvm - deprecate the option ``proxmox_default_behavior`` (https://github.com/ansible-collections/community.general/pull/7377).
|
|
@ -555,6 +555,7 @@ options:
|
||||||
- This affects the O(acpi), O(autostart), O(balloon), O(boot), O(cores), O(cpu),
|
- This affects the O(acpi), O(autostart), O(balloon), O(boot), O(cores), O(cpu),
|
||||||
O(cpuunits), O(force), O(format), O(kvm), O(memory), O(onboot), O(ostype), O(sockets),
|
O(cpuunits), O(force), O(format), O(kvm), O(memory), O(onboot), O(ostype), O(sockets),
|
||||||
O(tablet), O(template), and O(vga) options.
|
O(tablet), O(template), and O(vga) options.
|
||||||
|
- This option is deprecated and will be removed in community.general 10.0.0.
|
||||||
type: str
|
type: str
|
||||||
default: no_defaults
|
default: no_defaults
|
||||||
choices:
|
choices:
|
||||||
|
@ -1240,7 +1241,11 @@ def main():
|
||||||
virtio=dict(type='dict'),
|
virtio=dict(type='dict'),
|
||||||
vmid=dict(type='int'),
|
vmid=dict(type='int'),
|
||||||
watchdog=dict(),
|
watchdog=dict(),
|
||||||
proxmox_default_behavior=dict(type='str', default='no_defaults', choices=['compatibility', 'no_defaults']),
|
proxmox_default_behavior=dict(type='str',
|
||||||
|
default='no_defaults',
|
||||||
|
choices=['compatibility', 'no_defaults'],
|
||||||
|
removed_from_collection='community.general',
|
||||||
|
removed_in_version='10.0.0'),
|
||||||
)
|
)
|
||||||
module_args.update(kvm_args)
|
module_args.update(kvm_args)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue