Skip to content

Commit 247cfae

Browse files
Fix nb_inventory/options/group_by
The documentation for a plugin's `options` are located here: https://docs.ansible.com/ansible/latest/dev_guide/developing_program_flow_modules.html#argument-spec Changing this to `elements` allows users to select "Any of" the options in the list rather than "The whole list (or not)"
1 parent 9416330 commit 247cfae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/inventory/nb_inventory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
- I(rack_group) is supported on NetBox versions 2.10 or lower only
115115
- I(location) is supported on NetBox versions 2.11 or higher only
116116
type: list
117-
choices:
117+
elements:
118118
- sites
119119
- site
120120
- location

0 commit comments

Comments
 (0)