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/tests/unit/plugins
patchback[bot] 2dd964cab3
[PR #7485/68051774 backport][stable-8] [proxmox_vm_info] Add ability to retrieve config (#7680)
[proxmox_vm_info] Add ability to retrieve config (#7485)

* feat: add ability to retrieve config

Light refactor of get_vms_from_nodes function.
Added ability to retrieve configuration for existing machines (current or pending).

* Add changelog fragment

* Add changelog fragment (newline missed)

* Update changelogs/fragments/7485-proxmox_vm_info-config.yml

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

* Apply suggestions from code review

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

* Replaced two bool options with one three-state option

* Module args for the three-state option

* Remove trailing newline

* Make use of dict instead of list. Fix uncalled 'get config for lxc'.

* Sanity tests

* A couple of unit tests fixed

* Unit tests fixed

* Unit tests for p2.7 fixed. Test for config parameter added.

---------

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

Co-authored-by: castorsky <csky57@gmail.com>
2023-12-04 06:29:02 +01:00
..
become Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
cache Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
callback Fix Python 3.12 unit tests (#7348) 2023-10-04 23:23:11 +02:00
connection Handle remote_addr change in lxc connection plugin (#7373) 2023-10-18 20:54:24 +02:00
filter Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
inventory [PR #7461/d05932fb backport][stable-8] Add option to proxmox dynamic inventory to exclude nodes (#7606) 2023-11-26 17:35:57 +01:00
lookup [PR #7564/241cc02f backport][stable-8] onepassword lookup - Make section and field case insensitive (#7662) 2023-12-01 18:17:48 +01:00
module_utils Bump version of main to 8.0.0; remove deprecations, deprecate some leftovers (#7358) 2023-10-09 13:31:27 +02:00
modules [PR #7485/68051774 backport][stable-8] [proxmox_vm_info] Add ability to retrieve config (#7680) 2023-12-04 06:29:02 +01:00