mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-17 01:11:28 +00:00
[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
|
||
|---|---|---|
| .. | ||
| .keep | ||
| 7129-adding_set_secure_boot_command_to_redfish_config.yml | ||
| 7241-prevent-key-error-when-value-does-not-exist.yml | ||
| 7242_ignore_similar_chars.yml | ||
| 7251-gitlab-variables-deleteing-all-variables.yml | ||
| 7263-proxmox-return-vmid-and-taskid.yaml | ||
| 7264-ldap_search-strings.yml | ||
| 7273-ini_file_ignore_spaces.yml | ||
| 7303-mail-incorrect-header-parsing.yml | ||
| deprecate-ansible-core-2.11-2.12.yml | ||