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
Tristan Le Guern 5135587c16
proxmox_kvm: fix undefined local variable status (#1847)
* 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>
2021-02-17 21:25:05 +01:00
..
action
become <plugin_type>: -> name: (#1541) 2021-01-12 07:12:03 +01:00
cache <plugin_type>: -> name: (#1541) 2021-01-12 07:12:03 +01:00
callback Tidy up all pylint:blacklisted-name ignore lines (#1819) 2021-02-16 08:03:51 +01:00
connection Tidy up all pylint:blacklisted-name ignore lines (#1819) 2021-02-16 08:03:51 +01:00
doc_fragments Tidy up validate-modules:parameter-list-no-elements (batch 1) (#1795) 2021-02-16 07:11:37 +01:00
filter
inventory Update CI (#1782) 2021-02-11 10:24:58 +01:00
lookup Add yaml support to passwordstore. (#1681) 2021-01-28 09:24:28 +01:00
module_utils Tidy up validate-modules:parameter-list-no-elements (batch 1) (#1795) 2021-02-16 07:11:37 +01:00
modules proxmox_kvm: fix undefined local variable status (#1847) 2021-02-17 21:25:05 +01:00