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] e8861cafa6
[PR #7263/28b3da88 backport][stable-7] [proxmox] return vmid and taskid (#7307)
[proxmox] return vmid and taskid (#7263)

* add vmid exit value

if create succeeds, we want the vmid

* fix syntax

* add vmid to return codes

* Add taskid to return, and only return vmid when it makes sense to

* add changelog fragment with temporary filename

* Add pr number to fragment

* fix PEP8 E501: line too long

* oops, I knew I still missed something...

* Update 7263-proxmox-return-vmid-and-taskid.yaml

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

* removed taskid from places it's not defined

* finally fixed sanity test errors

Okay, so maybe just waiting for CI to run the tests was a terrible idea.

I installed `inotifywait`, set up a venv for the tests, and in my
editor's terminal pane I ran the following, letting it run every save
until it exited:

    until ansible-test sanity proxmox ; do
        inotifywait --event modify plugins/modules/proxmox.py
    done

---------

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

Co-authored-by: bri <284789+b-@users.noreply.github.com>
2023-09-22 21:55:52 +02:00
..
action [PR #7102/55cfd27b backport][stable-7] freebsd: shutdown -p ... on freebsd to power off machine (#7112) 2023-08-14 21:19:16 +02:00
become [PR #6935/24feb1dd backport][stable-7] machinectl become plugin: mark as require_tty (#6942) 2023-07-15 16:27:26 +02:00
cache [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
callback [PR #7179/631d215f backport][stable-7] Add unixy support for check_mode_markers (#7201) 2023-09-03 18:17:29 +02:00
connection [PR #7099/bf728aad backport][stable-7] chroot: add disable_root_check option (#7111) 2023-08-14 19:19:05 +00:00
doc_fragments [PR #6839/e5dc6978 backport][stable-7] proxmox module utils: better error msg when token fails with old proxmoxer (#6846) 2023-07-03 22:57:39 +02:00
filter [PR #7296/756e8f5c backport][stable-7] Update from_csv.py docs (#7300) 2023-09-20 22:44:15 +02:00
inventory [PR #7184/0c03f34f backport][stable-7] plugins/inventory/cobbler: Add exclude/include_mgmt_classes (#7208) 2023-09-05 20:50:11 +02:00
lookup [PR #7242/c3fd14e1 backport][stable-7] Ignore similar chars in random_string (#7292) 2023-09-20 22:04:29 +02:00
module_utils [PR #7129/12b48aaa backport][stable-7] Adding SetSecureBoot to redfish_config (#7298) 2023-09-20 22:25:40 +02:00
modules [PR #7263/28b3da88 backport][stable-7] [proxmox] return vmid and taskid (#7307) 2023-09-22 21:55:52 +02:00
test Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00