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
JL Euler 6cefde622c
Improve Proxmox volume handling (#8542)
* proxmox: basic linting

using black via trunk.io

* proxmox: refactor mount handling (#8407)

- make mount creation idempotent: Mounts created using the special syntax "<storage>:<size>" no longer create a new volume each time
- add new keys for easier mount creation & management

* proxmox: add changelog fragment

* proxmox(fix): fix occasional syntax error

* Update changelogs/fragments/8542-fix-proxmox-volume-handling.yml

Link to pull request

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

* Update documentation

- Fix options defined as values
- Document mutual exclusivity
- Fix option hierarchy
- Add version_added tag

* Revert "proxmox: basic linting"

This reverts commit ca7214f60e.

* proxmox: Fix documentation

* Fix list identifier in documentation

* pass volume options as dict instead of list

* Update plugins/modules/proxmox.py

Update documentation wording

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

* Update plugins/modules/proxmox.py

Update documentation wording

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

* proxmox: ensure values of `disk_volume` and `mount_volumes.*` dicts are strings

* proxmox(fix): correct indentation

* Apply suggestions from code review: punctuation

Add suggested punctuation to documentation

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

* Update plugins/modules/proxmox.py: vol_string building

Accept suggested review change

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

* proxmox: Use better string check and conversion

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2024-07-14 12:07:05 +02:00
..
action Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
become lint and fix polkit examples (#8381) 2024-05-19 20:50:41 +02:00
cache Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
callback fix(opentelemetry): remove request from the logs (#8430) 2024-06-03 06:50:55 +02:00
connection Refer to LXD containers/VMs as instances (#7873) 2024-01-24 13:35:17 +01:00
doc_fragments #8440 Allow for API Port to be specified when using proxmox_kvm (#8441) 2024-06-08 14:04:59 +02:00
filter New Plugins #8594 (#8595) 2024-07-13 13:32:36 +02:00
inventory Update VirtualBox Group parsing to align with documentation. (#8510) 2024-07-14 12:06:37 +02:00
lookup merge_variables: correct misleading short description (#8580) 2024-07-06 21:16:42 +02:00
module_utils redfish_utils: fix language check (#8613) 2024-07-12 23:08:43 +02:00
modules Improve Proxmox volume handling (#8542) 2024-07-14 12:07:05 +02:00
plugin_utils New Plugins #8594 (#8595) 2024-07-13 13:32:36 +02:00
test New Plugins #8594 (#8595) 2024-07-13 13:32:36 +02:00