mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
[PR #5672/fab73a1d backport][stable-6] Bugfix: Remove redundant VMID parameters (#5709)
Bugfix: Remove redundant VMID parameters (#5672)
* Remove redundant parameters VMID
* Add changelog fragment
(cherry picked from commit fab73a1d1e
)
Co-authored-by: castorsky <csky57@gmail.com>
This commit is contained in:
parent
82f4b51873
commit
02e6a8608f
3 changed files with 6 additions and 3 deletions
|
@ -223,7 +223,7 @@ class ProxmoxNicAnsible(ProxmoxAnsible):
|
|||
|
||||
if interface in vminfo:
|
||||
if not self.module.check_mode:
|
||||
self.proxmox_api.nodes(vm['node']).qemu(vmid).config.set(vmid=vmid, delete=interface)
|
||||
self.proxmox_api.nodes(vm['node']).qemu(vmid).config.set(delete=interface)
|
||||
return True
|
||||
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue