Skip to content

Commit b77a6be

Browse files
authored
Merge pull request #1056 from netbox-community/devel
Release 3.14.0
2 parents f6d52d2 + 4211b71 commit b77a6be

File tree

109 files changed

+5405
-820
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+5405
-820
lines changed

changelogs/changelog.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -805,3 +805,16 @@ releases:
805805
name: netbox_lsvpn_termination
806806
namespace: ''
807807
release_date: '2023-05-11'
808+
3.14.0:
809+
changes:
810+
bugfixes:
811+
- Fix schema caching [#1053](https://github.com/netbox-community/ansible_modules/pull/1053)
812+
minor_changes:
813+
- custom fields - Add datetime as an custom field option [#1019](https://github.com/netbox-community/ansible_modules/pull/1019)
814+
- API - Add possibility to use Bearer token [#1023](https://github.com/netbox-community/ansible_modules/pull/1023)
815+
- netbox_circuit_type, netbox_device_interface - Add missing options [#1025](https://github.com/netbox-community/ansible_modules/pull/1025)
816+
- netbox_cable - Add tenant [#1027](https://github.com/netbox-community/ansible_modules/pull/1027)
817+
- netbox_custom_field - Add hidden-ifunset option [#1048](https://github.com/netbox-community/ansible_modules/pull/1048)
818+
- netbox_power_port - Add missing power port option [#1049](https://github.com/netbox-community/ansible_modules/pull/1049)
819+
- netbox_inventory_item - Add role to module [#1050](https://github.com/netbox-community/ansible_modules/pull/1050)
820+
release_date: '2023-08-18'

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
author = "Mikhail Yohman <@FragmentedPacket>"
2828

2929
# The full version, including alpha/beta/rc tags
30-
release = "3.13.0"
30+
release = "3.14.0"
3131

3232

3333
# -- General configuration ---------------------------------------------------

docs/plugins/environment_variables.rst

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ Environment variables used by the ansible-core configuration are documented in :
2828

2929
This may not be required depending on the NetBox setup.
3030

31+
You can provide a "type" and "value" for a token if your NetBox deployment is using a more advanced authentication like OAUTH.
32+
33+
If you do not provide a "type" and "value" parameter, the HTTP authorization header will be set to "Token", which is the NetBox default
34+
3135
*Used by:*
3236
:ref:`netbox.netbox.nb\_inventory inventory plugin <ansible_collections.netbox.netbox.nb_inventory_inventory>`
3337
.. envvar:: NETBOX_API_TOKEN

docs/plugins/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Netbox.Netbox
77
=============
88

9-
Collection version 3.13.0
9+
Collection version 3.14.0
1010

1111
.. contents::
1212
:local:

docs/plugins/nb_inventory_inventory.rst

+13-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.nb_inventory inventory -- NetBox inventory source
4242
.. Collection note
4343
4444
.. note::
45-
This inventory plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This inventory plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848

@@ -2136,6 +2136,10 @@ Parameters
21362136

21372137
This may not be required depending on the NetBox setup.
21382138

2139+
You can provide a "type" and "value" for a token if your NetBox deployment is using a more advanced authentication like OAUTH.
2140+
2141+
If you do not provide a "type" and "value" parameter, the HTTP authorization header will be set to "Token", which is the NetBox default
2142+
21392143

21402144
.. rst-class:: ansible-option-line
21412145

@@ -2465,6 +2469,14 @@ Examples
24652469
# - "time_zone_utc_plus_1"
24662470
# - "time_zone_utc_plus_10"
24672471

2472+
# Example of using a token type
2473+
2474+
plugin: netbox.netbox.nb_inventory
2475+
api_endpoint: http://localhost:8000
2476+
token:
2477+
type: Bearer
2478+
value: test123456
2479+
24682480

24692481

24702482

docs/plugins/nb_lookup_lookup.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.nb_lookup lookup -- Queries and returns elements from NetBox
4242
.. Collection note
4343
4444
.. note::
45-
This lookup plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This lookup plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this lookup plugin,

docs/plugins/netbox_aggregate_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_aggregate module -- Creates or removes aggregates from NetB
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_asn_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_asn module -- Create, update or delete ASNs within NetBox
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_cable_module.rst

+38-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_cable module -- Create, update or delete cables within NetB
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,
@@ -502,6 +502,43 @@ Parameters
502502
Any tags that the cable may need to be associated with
503503

504504

505+
.. raw:: html
506+
507+
</div>
508+
509+
* - .. raw:: html
510+
511+
<div class="ansible-option-indent"></div><div class="ansible-option-cell">
512+
<div class="ansibleOptionAnchor" id="parameter-data/tenant"></div>
513+
514+
.. _ansible_collections.netbox.netbox.netbox_cable_module__parameter-data/tenant:
515+
516+
.. rst-class:: ansible-option-title
517+
518+
**tenant**
519+
520+
.. raw:: html
521+
522+
<a class="ansibleOptionLink" href="#parameter-data/tenant" title="Permalink to this option"></a>
523+
524+
.. rst-class:: ansible-option-type-line
525+
526+
:ansible-option-type:`any`
527+
528+
:ansible-option-versionadded:`added in netbox.netbox 3.14.0`
529+
530+
531+
.. raw:: html
532+
533+
</div>
534+
535+
- .. raw:: html
536+
537+
<div class="ansible-option-indent-desc"></div><div class="ansible-option-cell">
538+
539+
Tenant who the cable will be assigned to
540+
541+
505542
.. raw:: html
506543

507544
</div>

docs/plugins/netbox_circuit_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_circuit module -- Create, update or delete circuits within
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_circuit_termination_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_circuit_termination module -- Create, update or delete circ
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_circuit_type_module.rst

+38-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_circuit_type module -- Create, update or delete circuit typ
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,
@@ -205,6 +205,43 @@ Parameters
205205
Must exist in NetBox
206206

207207

208+
.. raw:: html
209+
210+
</div>
211+
212+
* - .. raw:: html
213+
214+
<div class="ansible-option-indent"></div><div class="ansible-option-cell">
215+
<div class="ansibleOptionAnchor" id="parameter-data/description"></div>
216+
217+
.. _ansible_collections.netbox.netbox.netbox_circuit_type_module__parameter-data/description:
218+
219+
.. rst-class:: ansible-option-title
220+
221+
**description**
222+
223+
.. raw:: html
224+
225+
<a class="ansibleOptionLink" href="#parameter-data/description" title="Permalink to this option"></a>
226+
227+
.. rst-class:: ansible-option-type-line
228+
229+
:ansible-option-type:`string`
230+
231+
:ansible-option-versionadded:`added in netbox.netbox 3.14.0`
232+
233+
234+
.. raw:: html
235+
236+
</div>
237+
238+
- .. raw:: html
239+
240+
<div class="ansible-option-indent-desc"></div><div class="ansible-option-cell">
241+
242+
The description of the circuit type
243+
244+
208245
.. raw:: html
209246

210247
</div>

docs/plugins/netbox_cluster_group_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_cluster_group module -- Create, update or delete cluster gr
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_cluster_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_cluster module -- Create, update or delete clusters within
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_cluster_type_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_cluster_type module -- Create, update or delete cluster typ
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_config_context_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_config_context module -- Creates, updates or deletes config
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_console_port_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_console_port module -- Create, update or delete console por
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_console_port_template_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_console_port_template module -- Create, update or delete co
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_console_server_port_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_console_server_port module -- Create, update or delete cons
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_console_server_port_template_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_console_server_port_template module -- Create, update or de
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_contact_group_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_contact_group module -- Creates or removes contact groups f
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_contact_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_contact module -- Creates or removes contacts from NetBox
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_contact_role_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_contact_role module -- Creates or removes contact roles fro
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_custom_field_module.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_custom_field module -- Creates, updates or deletes custom f
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,
@@ -603,6 +603,7 @@ Parameters
603603
- :ansible-option-choices-entry:`"decimal"`
604604
- :ansible-option-choices-entry:`"boolean"`
605605
- :ansible-option-choices-entry:`"date"`
606+
- :ansible-option-choices-entry:`"datetime"`
606607
- :ansible-option-choices-entry:`"url"`
607608
- :ansible-option-choices-entry:`"json"`
608609
- :ansible-option-choices-entry:`"select"`
@@ -655,6 +656,7 @@ Parameters
655656
- :ansible-option-choices-entry:`"read-write"`
656657
- :ansible-option-choices-entry:`"read-only"`
657658
- :ansible-option-choices-entry:`"hidden"`
659+
- :ansible-option-choices-entry:`"hidden-ifunset"`
658660

659661

660662
.. raw:: html

docs/plugins/netbox_custom_link_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_custom_link module -- Creates, updates or deletes custom li
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_device_bay_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_device_bay module -- Create, update or delete device bays w
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

docs/plugins/netbox_device_bay_template_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ netbox.netbox.netbox_device_bay_template module -- Create, update or delete devi
4242
.. Collection note
4343
4444
.. note::
45-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.14.0).
4646

4747
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4848
You need further requirements to be able to use this module,

0 commit comments

Comments
 (0)