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
lyrandy 21b16c1c77
Update VirtualBox Group parsing to align with documentation. ()
* 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>
2024-07-14 12:06:37 +02:00
..
action Fix more typos () 2023-10-29 18:04:44 +01:00
become lint and fix polkit examples () 2024-05-19 20:50:41 +02:00
cache Fix more typos () 2023-10-29 18:04:44 +01:00
callback fix(opentelemetry): remove request from the logs () 2024-06-03 06:50:55 +02:00
connection Refer to LXD containers/VMs as instances () 2024-01-24 13:35:17 +01:00
doc_fragments Allow for API Port to be specified when using proxmox_kvm () 2024-06-08 14:04:59 +02:00
filter New Plugins () 2024-07-13 13:32:36 +02:00
inventory Update VirtualBox Group parsing to align with documentation. () 2024-07-14 12:06:37 +02:00
lookup merge_variables: correct misleading short description () 2024-07-06 21:16:42 +02:00
module_utils redfish_utils: fix language check () 2024-07-12 23:08:43 +02:00
modules Add example to rpm_ostree_pkg () 2024-07-14 12:05:53 +02:00
plugin_utils New Plugins () 2024-07-13 13:32:36 +02:00
test New Plugins () 2024-07-13 13:32:36 +02:00