Skip to content

Commit 782584b

Browse files
authored
Release 3.13 (#1000)
1 parent 4f90642 commit 782584b

File tree

85 files changed

+1578
-174
lines changed

Some content is hidden

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

85 files changed

+1578
-174
lines changed

CHANGELOG.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,27 @@ NetBox.NetBox Release Notes
55
.. contents:: Topics
66

77

8+
v3.13.0
9+
=======
10+
11+
Minor Changes
12+
-------------
13+
14+
- nb_inventory - Enable NetBox 3.5 support [#999](https://github.com/netbox-community/ansible_modules/pull/999)
15+
- netbox_fhrp_group_assignment - Add module [#974](https://github.com/netbox-community/ansible_modules/pull/974)
16+
- netbox_lsvpn_termination - Add module [#994](https://github.com/netbox-community/ansible_modules/pull/994)
17+
18+
Bugfixes
19+
--------
20+
21+
- netbox_cable - Fix idempotency [#990](https://github.com/netbox-community/ansible_modules/pull/990)
22+
23+
New Modules
24+
-----------
25+
26+
- netbox.netbox.netbox_fhrp_group_assignment - Creates, updates or removes FHRP group assignments from NetBox
27+
- netbox.netbox.netbox_lsvpn_termination - Creates, updates or removes L2VPNs terminations from NetBox
28+
829
v3.12.0
930
=======
1031

changelogs/changelog.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,3 +789,19 @@ releases:
789789
name: netbox_asn
790790
namespace: ''
791791
release_date: '2023-04-04'
792+
3.13.0:
793+
changes:
794+
bugfixes:
795+
- netbox_cable - Fix idempotency [#990](https://github.com/netbox-community/ansible_modules/pull/990)
796+
minor_changes:
797+
- netbox_fhrp_group_assignment - Add module [#974](https://github.com/netbox-community/ansible_modules/pull/974)
798+
- netbox_lsvpn_termination - Add module [#994](https://github.com/netbox-community/ansible_modules/pull/994)
799+
- nb_inventory - Enable NetBox 3.5 support [#999](https://github.com/netbox-community/ansible_modules/pull/999)
800+
modules:
801+
- description: Creates, updates or removes FHRP group assignments from NetBox
802+
name: netbox_fhrp_group_assignment
803+
namespace: ''
804+
- description: Creates, updates or removes L2VPNs terminations from NetBox
805+
name: netbox_lsvpn_termination
806+
namespace: ''
807+
release_date: '2023-05-11'

docs/conf.py

Lines changed: 1 addition & 1 deletion
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.12.0"
30+
release = "3.13.0"
3131

3232

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

docs/plugins/environment_variables.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Index of all Collection Environment Variables
77
=============================================
88

99
The following index documents all environment variables declared by plugins in collections.
10-
Environment variables used by the ansible-core configuation are documented in :ref:`ansible_configuration_settings`.
10+
Environment variables used by the ansible-core configuration are documented in :ref:`ansible_configuration_settings`.
1111

1212
.. envvar:: ANSIBLE_INVENTORY_USE_EXTRA_VARS
1313

docs/plugins/index.rst

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Netbox.Netbox
77
=============
88

9-
Collection version 3.12.0
9+
Collection version 3.13.0
1010

1111
.. contents::
1212
:local:
@@ -76,6 +76,7 @@ Modules
7676
* :ref:`netbox_device_type module <ansible_collections.netbox.netbox.netbox_device_type_module>` -- Create, update or delete device types within NetBox
7777
* :ref:`netbox_export_template module <ansible_collections.netbox.netbox.netbox_export_template_module>` -- Creates, updates or deletes export templates within NetBox
7878
* :ref:`netbox_fhrp_group module <ansible_collections.netbox.netbox.netbox_fhrp_group_module>` -- Create, update or delete FHRP groups within NetBox
79+
* :ref:`netbox_fhrp_group_assignment module <ansible_collections.netbox.netbox.netbox_fhrp_group_assignment_module>` -- Create, update or delete FHRP group assignments within NetBox
7980
* :ref:`netbox_front_port module <ansible_collections.netbox.netbox.netbox_front_port_module>` -- Create, update or delete front ports within NetBox
8081
* :ref:`netbox_front_port_template module <ansible_collections.netbox.netbox.netbox_front_port_template_module>` -- Create, update or delete front port templates within NetBox
8182
* :ref:`netbox_inventory_item module <ansible_collections.netbox.netbox.netbox_inventory_item_module>` -- Creates or removes inventory items from NetBox
@@ -84,6 +85,7 @@ Modules
8485
* :ref:`netbox_ipam_role module <ansible_collections.netbox.netbox.netbox_ipam_role_module>` -- Creates or removes ipam roles from NetBox
8586
* :ref:`netbox_journal_entry module <ansible_collections.netbox.netbox.netbox_journal_entry_module>` -- Creates a journal entry
8687
* :ref:`netbox_l2vpn module <ansible_collections.netbox.netbox.netbox_l2vpn_module>` -- Create, update or delete L2VPNs within NetBox
88+
* :ref:`netbox_l2vpn_termination module <ansible_collections.netbox.netbox.netbox_l2vpn_termination_module>` -- Create, update or delete L2VPNs terminations within NetBox
8789
* :ref:`netbox_location module <ansible_collections.netbox.netbox.netbox_location_module>` -- Create, update or delete locations within NetBox
8890
* :ref:`netbox_manufacturer module <ansible_collections.netbox.netbox.netbox_manufacturer_module>` -- Create or delete manufacturers within NetBox
8991
* :ref:`netbox_module_type module <ansible_collections.netbox.netbox.netbox_module_type_module>` -- Create, update or delete module types within NetBox
@@ -123,26 +125,10 @@ Modules
123125
* :ref:`netbox_wireless_lan_group module <ansible_collections.netbox.netbox.netbox_wireless_lan_group_module>` -- Creates or removes Wireless LAN Groups from NetBox
124126
* :ref:`netbox_wireless_link module <ansible_collections.netbox.netbox.netbox_wireless_link_module>` -- Creates or removes Wireless links from NetBox
125127

126-
127-
Inventory Plugins
128-
~~~~~~~~~~~~~~~~~
129-
130-
* :ref:`nb_inventory inventory <ansible_collections.netbox.netbox.nb_inventory_inventory>` -- NetBox inventory source
131-
132-
133-
Lookup Plugins
134-
~~~~~~~~~~~~~~
135-
136-
* :ref:`nb_lookup lookup <ansible_collections.netbox.netbox.nb_lookup_lookup>` -- Queries and returns elements from NetBox
137-
138-
139-
140128
.. toctree::
141129
:maxdepth: 1
142130
:hidden:
143131

144-
nb_inventory_inventory
145-
nb_lookup_lookup
146132
netbox_aggregate_module
147133
netbox_asn_module
148134
netbox_cable_module
@@ -171,6 +157,7 @@ Lookup Plugins
171157
netbox_device_type_module
172158
netbox_export_template_module
173159
netbox_fhrp_group_module
160+
netbox_fhrp_group_assignment_module
174161
netbox_front_port_module
175162
netbox_front_port_template_module
176163
netbox_inventory_item_module
@@ -179,6 +166,7 @@ Lookup Plugins
179166
netbox_ipam_role_module
180167
netbox_journal_entry_module
181168
netbox_l2vpn_module
169+
netbox_l2vpn_termination_module
182170
netbox_location_module
183171
netbox_manufacturer_module
184172
netbox_module_type_module
@@ -217,3 +205,29 @@ Lookup Plugins
217205
netbox_wireless_lan_module
218206
netbox_wireless_lan_group_module
219207
netbox_wireless_link_module
208+
209+
210+
Inventory Plugins
211+
~~~~~~~~~~~~~~~~~
212+
213+
* :ref:`nb_inventory inventory <ansible_collections.netbox.netbox.nb_inventory_inventory>` -- NetBox inventory source
214+
215+
.. toctree::
216+
:maxdepth: 1
217+
:hidden:
218+
219+
nb_inventory_inventory
220+
221+
222+
Lookup Plugins
223+
~~~~~~~~~~~~~~
224+
225+
* :ref:`nb_lookup lookup <ansible_collections.netbox.netbox.nb_lookup_lookup>` -- Queries and returns elements from NetBox
226+
227+
.. toctree::
228+
:maxdepth: 1
229+
:hidden:
230+
231+
nb_lookup_lookup
232+
233+

docs/plugins/nb_inventory_inventory.rst

Lines changed: 1 addition & 2 deletions
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.12.0).
45+
This inventory plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.0).
4646

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

@@ -81,7 +81,6 @@ Synopsis
8181
Parameters
8282
----------
8383

84-
8584
.. rst-class:: ansible-option-table
8685

8786
.. list-table::

docs/plugins/nb_lookup_lookup.rst

Lines changed: 11 additions & 3 deletions
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.12.0).
45+
This lookup plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.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,
@@ -145,9 +145,11 @@ Terms
145145

146146
.. Options
147147
148-
Parameters
149-
----------
148+
Keyword parameters
149+
------------------
150150

151+
This describes keyword parameters of the lookup. These are the values ``key1=value1``, ``key2=value2`` and so on in the following
152+
examples: ``lookup('netbox.netbox.nb_lookup', key1=value1, key2=value2, ...)`` and ``query('netbox.netbox.nb_lookup', key1=value1, key2=value2, ...)``
151153

152154
.. rst-class:: ansible-option-table
153155

@@ -497,6 +499,12 @@ Parameters
497499
498500
.. Notes
499501
502+
Notes
503+
-----
504+
505+
.. note::
506+
- When keyword and positional parameters are used together, positional parameters must be listed before keyword parameters:
507+
``lookup('netbox.netbox.nb_lookup', term1, term2, key1=value1, key2=value2)`` and ``query('netbox.netbox.nb_lookup', term1, term2, key1=value1, key2=value2)``
500508

501509
.. Seealso
502510

docs/plugins/netbox_aggregate_module.rst

Lines changed: 1 addition & 2 deletions
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.12.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.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,
@@ -94,7 +94,6 @@ The below requirements are needed on the host that executes this module.
9494
Parameters
9595
----------
9696

97-
9897
.. rst-class:: ansible-option-table
9998

10099
.. list-table::

docs/plugins/netbox_asn_module.rst

Lines changed: 1 addition & 2 deletions
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.12.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.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,
@@ -94,7 +94,6 @@ The below requirements are needed on the host that executes this module.
9494
Parameters
9595
----------
9696

97-
9897
.. rst-class:: ansible-option-table
9998

10099
.. list-table::

docs/plugins/netbox_cable_module.rst

Lines changed: 1 addition & 2 deletions
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.12.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.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,
@@ -94,7 +94,6 @@ The below requirements are needed on the host that executes this module.
9494
Parameters
9595
----------
9696

97-
9897
.. rst-class:: ansible-option-table
9998

10099
.. list-table::

docs/plugins/netbox_circuit_module.rst

Lines changed: 1 addition & 2 deletions
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.12.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.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,
@@ -94,7 +94,6 @@ The below requirements are needed on the host that executes this module.
9494
Parameters
9595
----------
9696

97-
9897
.. rst-class:: ansible-option-table
9998

10099
.. list-table::

docs/plugins/netbox_circuit_termination_module.rst

Lines changed: 1 addition & 2 deletions
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.12.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.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,
@@ -94,7 +94,6 @@ The below requirements are needed on the host that executes this module.
9494
Parameters
9595
----------
9696

97-
9897
.. rst-class:: ansible-option-table
9998

10099
.. list-table::

docs/plugins/netbox_circuit_type_module.rst

Lines changed: 1 addition & 2 deletions
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.12.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.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,
@@ -94,7 +94,6 @@ The below requirements are needed on the host that executes this module.
9494
Parameters
9595
----------
9696

97-
9897
.. rst-class:: ansible-option-table
9998

10099
.. list-table::

docs/plugins/netbox_cluster_group_module.rst

Lines changed: 1 addition & 2 deletions
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.12.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.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,
@@ -94,7 +94,6 @@ The below requirements are needed on the host that executes this module.
9494
Parameters
9595
----------
9696

97-
9897
.. rst-class:: ansible-option-table
9998

10099
.. list-table::

docs/plugins/netbox_cluster_module.rst

Lines changed: 1 addition & 2 deletions
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.12.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.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,
@@ -94,7 +94,6 @@ The below requirements are needed on the host that executes this module.
9494
Parameters
9595
----------
9696

97-
9897
.. rst-class:: ansible-option-table
9998

10099
.. list-table::

docs/plugins/netbox_cluster_type_module.rst

Lines changed: 1 addition & 2 deletions
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.12.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.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,
@@ -94,7 +94,6 @@ The below requirements are needed on the host that executes this module.
9494
Parameters
9595
----------
9696

97-
9897
.. rst-class:: ansible-option-table
9998

10099
.. list-table::

docs/plugins/netbox_config_context_module.rst

Lines changed: 1 addition & 2 deletions
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.12.0).
45+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.13.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,
@@ -94,7 +94,6 @@ The below requirements are needed on the host that executes this module.
9494
Parameters
9595
----------
9696

97-
9897
.. rst-class:: ansible-option-table
9998

10099
.. list-table::

0 commit comments

Comments
 (0)