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] 37308c929b
[PR #8510/21b16c1c backport][stable-9] Update VirtualBox Group parsing to align with documentation. (#8621)
Update VirtualBox Group parsing to align with documentation. (#8510)

* Update VirtualBox Group parsing to align with documentation.

Previously, we could separate the group string on the `/` char and
consider each element to be distinct, top-level groups. This change
implements the notion of nested groups and the use of the `,` char to
split multiple groups.

* Address code review comments.

Changed the implementation from a breaking change to a minor change by
introducing a new parameter to configure the behaviour. Keep the default
values to maintain the existing behaviour, and allow consumers an option
to opt-in.

* Fix line length.

The long lines were tripping CI. Reduce the length.

* Apply suggestions from code review

Update documentation to match expected conventions and correct the final rendered formatting.
Set the initial parent_group to `None` instead of `all` and rely on the parent class' inventory reconciliation logic to ensure consistent behaviour across different inventory plugins.

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

* Reword module arg description to avoid issues with CI.

One of the lines ended with a colon character which made the CI tests
fail since it would interpret it as a YAML key. Reworded the description
altogether to avoid that issue.

* Apply suggestions from code review

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

---------

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

Co-authored-by: lyrandy <42095565+lyrandy@users.noreply.github.com>
2024-07-14 12:17:49 +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 [PR #8430/5041ebe5 backport][stable-9] fix(opentelemetry): remove request from the logs (#8458) 2024-06-03 07:15:49 +02:00
connection Refer to LXD containers/VMs as instances (#7873) 2024-01-24 13:35:17 +01:00
doc_fragments [PR #8441/d2d7deb4 backport][stable-9] #8440 Allow for API Port to be specified when using proxmox_kvm (#8478) 2024-06-08 14:59:27 +02:00
filter [PR #8595/8990f97b backport][stable-9] New Plugins #8594 (#8618) 2024-07-13 14:19:14 +02:00
inventory [PR #8510/21b16c1c backport][stable-9] Update VirtualBox Group parsing to align with documentation. (#8621) 2024-07-14 12:17:49 +02:00
lookup [PR #8580/a3989095 backport][stable-9] merge_variables: correct misleading short description (#8591) 2024-07-06 21:31:45 +02:00
module_utils [PR #8613/ca8ecb1d backport][stable-9] redfish_utils: fix language check (#8617) 2024-07-12 23:23:50 +02:00
modules [PR #8542/6cefde62 backport][stable-9] Improve Proxmox volume handling (#8622) 2024-07-14 12:17:41 +02:00
plugin_utils [PR #8595/8990f97b backport][stable-9] New Plugins #8594 (#8618) 2024-07-13 14:19:14 +02:00
test [PR #8595/8990f97b backport][stable-9] New Plugins #8594 (#8618) 2024-07-13 14:19:14 +02:00