1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins
patchback[bot] dc2fa05b1f
proxmox_kvm: fix undefined local variable status () ()
* proxmox_kvm: undefined local variable status

* proxmox_kvm: Add a changelog fragment

* Update changelogs/fragments/1847-proxmox-kvm-fix-status.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* proxmox_kvm: fix the RETURN document

* proxmox_kvm: fix name variable when state=current

The variable name is not always defined as the module can be called with
just a vmid.

Before:

> "msg": "VM None with vmid = 118 is stopped"

After:

> "msg": "VM test-instance with vmid = 118 is stopped"

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 5135587c16)

Co-authored-by: Tristan Le Guern <tristan.leguern-presta@deveryware.com>
2021-02-17 21:44:02 +01:00
..
action
become <plugin_type>: -> name: () 2021-01-12 07:12:03 +01:00
cache <plugin_type>: -> name: () 2021-01-12 07:12:03 +01:00
callback Tidy up all pylint:blacklisted-name ignore lines () () 2021-02-16 08:46:20 +01:00
connection Tidy up all pylint:blacklisted-name ignore lines () () 2021-02-16 08:46:20 +01:00
doc_fragments Tidy up validate-modules:parameter-list-no-elements (batch 1) () () 2021-02-16 07:38:50 +01:00
filter
inventory Update CI () () 2021-02-11 11:10:42 +01:00
lookup Add yaml support to passwordstore. () 2021-01-28 09:24:28 +01:00
module_utils Tidy up validate-modules:parameter-list-no-elements (batch 1) () () 2021-02-16 07:38:50 +01:00
modules proxmox_kvm: fix undefined local variable status () () 2021-02-17 21:44:02 +01:00