Skip to content

Commit ba44b5b

Browse files
authored
Merge pull request #874 from netbox-community/devel
Release 3.9.0
2 parents e7f27e7 + ce12847 commit ba44b5b

File tree

95 files changed

+2113
-139
lines changed

Some content is hidden

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

95 files changed

+2113
-139
lines changed

CHANGELOG.rst

+23
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,29 @@ NetBox.NetBox Release Notes
55
.. contents:: Topics
66

77

8+
v3.9.0
9+
======
10+
11+
Minor Changes
12+
-------------
13+
14+
- nb_lookup - Add 3.3 endpoints for lookup [#865](https://github.com/netbox-community/ansible_modules/pull/865)
15+
- netbox_console_server and netbox_console_server_port - Add new field [#866](https://github.com/netbox-community/ansible_modules/pull/866)
16+
- netbox_device_bay - Add label [#868](https://github.com/netbox-community/ansible_modules/pull/868)
17+
- netbox_l2vpn - Add module [#846](https://github.com/netbox-community/ansible_modules/pull/846)
18+
19+
Bugfixes
20+
--------
21+
22+
- nb_inventory - Fix site_group in inventory plugin [#872](https://github.com/netbox-community/ansible_modules/pull/872)
23+
- nb_inventory - Make sure inventory works with ansible < 2.11 [#861](https://github.com/netbox-community/ansible_modules/pull/861)
24+
- netbox_virtual_machine - Fix idempotency with virtual machine and NetBox 3.0 [#859](https://github.com/netbox-community/ansible_modules/pull/859)
25+
26+
New Modules
27+
-----------
28+
29+
- netbox.netbox.netbox_l2vpn - Create, update or delete L2VPN objects in NetBox
30+
831
v3.8.1
932
======
1033

changelogs/changelog.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -716,3 +716,19 @@ releases:
716716
- Update CI to include NetBox 3.3 [#841](https://github.com/netbox-community/ansible_modules/pull/841)
717717
- Update documentation to show exclusion filter [#837](https://github.com/netbox-community/ansible_modules/pull/837)
718718
release_date: '2022-10-17'
719+
3.9.0:
720+
changes:
721+
bugfixes:
722+
- netbox_virtual_machine - Fix idempotency with virtual machine and NetBox 3.0 [#859](https://github.com/netbox-community/ansible_modules/pull/859)
723+
- nb_inventory - Make sure inventory works with ansible < 2.11 [#861](https://github.com/netbox-community/ansible_modules/pull/861)
724+
- nb_inventory - Fix site_group in inventory plugin [#872](https://github.com/netbox-community/ansible_modules/pull/872)
725+
minor_changes:
726+
- netbox_l2vpn - Add module [#846](https://github.com/netbox-community/ansible_modules/pull/846)
727+
- nb_lookup - Add 3.3 endpoints for lookup [#865](https://github.com/netbox-community/ansible_modules/pull/865)
728+
- netbox_device_bay - Add label [#868](https://github.com/netbox-community/ansible_modules/pull/868)
729+
- netbox_console_server and netbox_console_server_port - Add new field [#866](https://github.com/netbox-community/ansible_modules/pull/866)
730+
modules:
731+
- description: Create, update or delete L2VPN objects in NetBox
732+
name: netbox_l2vpn
733+
namespace: ''
734+
release_date: '2022-11-14'

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import re
1616
import stat
1717
from pathlib import Path
18-
from antsibull.cli import antsibull_docs
18+
from antsibull_docs.cli import antsibull_docs
1919

2020
sys.path.insert(0, os.path.abspath("../"))
2121

@@ -27,7 +27,7 @@
2727
author = "Mikhail Yohman <@FragmentedPacket>"
2828

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

3232

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

docs/getting_started/how-to-use/modules.rst

+33
Original file line numberDiff line numberDiff line change
@@ -221,3 +221,36 @@ that specify fields that are unique to each tag. Name can be used, but we always
221221
state: "present"
222222
223223
.. warning:: Everything discussed above can be applied to each module, but may need to swap out any arguments for module specific arguments.
224+
225+
Using module default groups
226+
+++++++++++++++++++++++++++++
227+
228+
To avoid having to define the ``netbox_url`` and ``netbox_token`` in each task you can use the module default group feature.
229+
230+
.. code-block:: yaml
231+
232+
---
233+
...
234+
module_defaults:
235+
group/netbox.netbox.netbox:
236+
netbox_url: "http://netbox.local"
237+
netbox_token: "thisIsMyToken"
238+
tasks:
239+
- name: "Example using tags"
240+
netbox.netbox.netbox_device:
241+
data:
242+
name: "Test Device"
243+
tags:
244+
- slug: "my-new-tag1"
245+
- slug: "my-new-tag2"
246+
state: "present"
247+
248+
- name: "Example state: present - Update"
249+
netbox.netbox.netbox_device:
250+
data:
251+
name: "Test Device"
252+
serial: "FXS110011"
253+
state: "present"
254+
255+
.. note::
256+
Module default groups are available from Ansible 2.12.

docs/plugins/index.rst

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

9-
Collection version 3.8.1
9+
Collection version 3.9.0
1010

1111
.. contents::
1212
:local:
@@ -75,6 +75,7 @@ Modules
7575
* :ref:`netbox_inventory_item module <ansible_collections.netbox.netbox.netbox_inventory_item_module>` -- Creates or removes inventory items from NetBox
7676
* :ref:`netbox_ip_address module <ansible_collections.netbox.netbox.netbox_ip_address_module>` -- Creates or removes IP addresses from NetBox
7777
* :ref:`netbox_ipam_role module <ansible_collections.netbox.netbox.netbox_ipam_role_module>` -- Creates or removes ipam roles from NetBox
78+
* :ref:`netbox_l2vpn module <ansible_collections.netbox.netbox.netbox_l2vpn_module>` -- Create, update or delete L2VPNs within NetBox
7879
* :ref:`netbox_location module <ansible_collections.netbox.netbox.netbox_location_module>` -- Create, update or delete locations within NetBox
7980
* :ref:`netbox_manufacturer module <ansible_collections.netbox.netbox.netbox_manufacturer_module>` -- Create or delete manufacturers within NetBox
8081
* :ref:`netbox_platform module <ansible_collections.netbox.netbox.netbox_platform_module>` -- Create or delete platforms within NetBox
@@ -167,6 +168,7 @@ Lookup Plugins
167168
netbox_inventory_item_module
168169
netbox_ip_address_module
169170
netbox_ipam_role_module
171+
netbox_l2vpn_module
170172
netbox_location_module
171173
netbox_manufacturer_module
172174
netbox_platform_module

docs/plugins/nb_inventory_inventory.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ netbox.netbox.nb_inventory inventory -- NetBox inventory source
4343
.. Collection note
4444
4545
.. note::
46-
This inventory plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
46+
This inventory plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).
4747

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

docs/plugins/nb_lookup_lookup.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ netbox.netbox.nb_lookup lookup -- Queries and returns elements from NetBox
4343
.. Collection note
4444
4545
.. note::
46-
This lookup plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
46+
This lookup plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).
4747

4848
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4949
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
@@ -43,7 +43,7 @@ netbox.netbox.netbox_aggregate module -- Creates or removes aggregates from NetB
4343
.. Collection note
4444
4545
.. note::
46-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
46+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).
4747

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

docs/plugins/netbox_cable_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ netbox.netbox.netbox_cable module -- Create, update or delete cables within NetB
4343
.. Collection note
4444
4545
.. note::
46-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
46+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).
4747

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

docs/plugins/netbox_circuit_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ netbox.netbox.netbox_circuit module -- Create, update or delete circuits within
4343
.. Collection note
4444
4545
.. note::
46-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
46+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).
4747

4848
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4949
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
@@ -43,7 +43,7 @@ netbox.netbox.netbox_circuit_termination module -- Create, update or delete circ
4343
.. Collection note
4444
4545
.. note::
46-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
46+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).
4747

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

docs/plugins/netbox_circuit_type_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ netbox.netbox.netbox_circuit_type module -- Create, update or delete circuit typ
4343
.. Collection note
4444
4545
.. note::
46-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
46+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).
4747

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

docs/plugins/netbox_cluster_group_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ netbox.netbox.netbox_cluster_group module -- Create, update or delete cluster gr
4343
.. Collection note
4444
4545
.. note::
46-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
46+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).
4747

4848
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4949
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
@@ -43,7 +43,7 @@ netbox.netbox.netbox_cluster module -- Create, update or delete clusters within
4343
.. Collection note
4444
4545
.. note::
46-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
46+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).
4747

4848
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4949
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
@@ -43,7 +43,7 @@ netbox.netbox.netbox_cluster_type module -- Create, update or delete cluster typ
4343
.. Collection note
4444
4545
.. note::
46-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
46+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).
4747

4848
To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
4949
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
@@ -43,7 +43,7 @@ netbox.netbox.netbox_config_context module -- Creates, updates or deletes config
4343
.. Collection note
4444
4545
.. note::
46-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
46+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).
4747

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

0 commit comments

Comments
 (0)