Skip to content

Commit 2987988

Browse files
committed
correct tags documentation
1 parent 22ec0b7 commit 2987988

31 files changed

+37
-0
lines changed

docs/getting_started/contributing/modules/new_module.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ Now we need to update the ``DOCUMENTATION`` variable to match the module we're c
150150
- Any tags that the device may need to be associated with
151151
required: false
152152
type: list
153+
elements: str
153154
custom_fields:
154155
description:
155156
- must exist in Netbox

plugins/inventory/nb_inventory.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126
- I(rack_group) is supported on NetBox versions 2.10 or lower only
127127
- I(location) is supported on NetBox versions 2.11 or higher only
128128
type: list
129+
elements: str
129130
elements:
130131
- sites
131132
- site
@@ -162,14 +163,17 @@
162163
query_filters:
163164
description: List of parameters passed to the query string for both devices and VMs (Multiple values may be separated by commas)
164165
type: list
166+
elements: str
165167
default: []
166168
device_query_filters:
167169
description: List of parameters passed to the query string for devices (Multiple values may be separated by commas)
168170
type: list
171+
elements: str
169172
default: []
170173
vm_query_filters:
171174
description: List of parameters passed to the query string for VMs (Multiple values may be separated by commas)
172175
type: list
176+
elements: str
173177
default: []
174178
timeout:
175179
description: Timeout for Netbox requests in seconds

plugins/modules/netbox_aggregate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
- "Any tags that the aggregate may need to be associated with"
7474
required: false
7575
type: list
76+
elements: str
7677
custom_fields:
7778
description:
7879
- "must exist in Netbox"

plugins/modules/netbox_cable.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
required: false
157157
type: list
158158
elements: str
159+
elements: str
159160
state:
160161
description:
161162
- Use C(present) or C(absent) for adding or removing.

plugins/modules/netbox_circuit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
- Any tags that the device may need to be associated with
100100
required: false
101101
type: list
102+
elements: str
102103
custom_fields:
103104
description:
104105
- must exist in Netbox

plugins/modules/netbox_cluster.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
- Any tags that the cluster may need to be associated with
8585
required: false
8686
type: list
87+
elements: str
8788
custom_fields:
8889
description:
8990
- must exist in Netbox

plugins/modules/netbox_console_port.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
- Any tags that the console port may need to be associated with
9090
required: false
9191
type: list
92+
elements: str
9293
state:
9394
description:
9495
- Use C(present) or C(absent) for adding or removing.

plugins/modules/netbox_console_server_port.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
- Any tags that the console server port may need to be associated with
9090
required: false
9191
type: list
92+
elements: str
9293
state:
9394
description:
9495
- Use C(present) or C(absent) for adding or removing.

plugins/modules/netbox_device.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@
154154
- Any tags that the device may need to be associated with
155155
required: false
156156
type: list
157+
elements: str
157158
custom_fields:
158159
description:
159160
- must exist in Netbox

plugins/modules/netbox_device_bay.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
- Any tags that the device bay may need to be associated with
7373
required: false
7474
type: list
75+
elements: str
7576
type: dict
7677
required: true
7778
state:

0 commit comments

Comments
 (0)