Skip to content

Commit

Permalink
Merge pull request #874 from netbox-community/devel
Browse files Browse the repository at this point in the history
Release 3.9.0
  • Loading branch information
rodvand authored Nov 13, 2022
2 parents e7f27e7 + ce12847 commit ba44b5b
Show file tree
Hide file tree
Showing 95 changed files with 2,113 additions and 139 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,29 @@ NetBox.NetBox Release Notes
.. contents:: Topics


v3.9.0
======

Minor Changes
-------------

- nb_lookup - Add 3.3 endpoints for lookup [#865](https://github.com/netbox-community/ansible_modules/pull/865)
- netbox_console_server and netbox_console_server_port - Add new field [#866](https://github.com/netbox-community/ansible_modules/pull/866)
- netbox_device_bay - Add label [#868](https://github.com/netbox-community/ansible_modules/pull/868)
- netbox_l2vpn - Add module [#846](https://github.com/netbox-community/ansible_modules/pull/846)

Bugfixes
--------

- nb_inventory - Fix site_group in inventory plugin [#872](https://github.com/netbox-community/ansible_modules/pull/872)
- nb_inventory - Make sure inventory works with ansible < 2.11 [#861](https://github.com/netbox-community/ansible_modules/pull/861)
- netbox_virtual_machine - Fix idempotency with virtual machine and NetBox 3.0 [#859](https://github.com/netbox-community/ansible_modules/pull/859)

New Modules
-----------

- netbox.netbox.netbox_l2vpn - Create, update or delete L2VPN objects in NetBox

v3.8.1
======

Expand Down
16 changes: 16 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -716,3 +716,19 @@ releases:
- Update CI to include NetBox 3.3 [#841](https://github.com/netbox-community/ansible_modules/pull/841)
- Update documentation to show exclusion filter [#837](https://github.com/netbox-community/ansible_modules/pull/837)
release_date: '2022-10-17'
3.9.0:
changes:
bugfixes:
- netbox_virtual_machine - Fix idempotency with virtual machine and NetBox 3.0 [#859](https://github.com/netbox-community/ansible_modules/pull/859)
- nb_inventory - Make sure inventory works with ansible < 2.11 [#861](https://github.com/netbox-community/ansible_modules/pull/861)
- nb_inventory - Fix site_group in inventory plugin [#872](https://github.com/netbox-community/ansible_modules/pull/872)
minor_changes:
- netbox_l2vpn - Add module [#846](https://github.com/netbox-community/ansible_modules/pull/846)
- nb_lookup - Add 3.3 endpoints for lookup [#865](https://github.com/netbox-community/ansible_modules/pull/865)
- netbox_device_bay - Add label [#868](https://github.com/netbox-community/ansible_modules/pull/868)
- netbox_console_server and netbox_console_server_port - Add new field [#866](https://github.com/netbox-community/ansible_modules/pull/866)
modules:
- description: Create, update or delete L2VPN objects in NetBox
name: netbox_l2vpn
namespace: ''
release_date: '2022-11-14'
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import re
import stat
from pathlib import Path
from antsibull.cli import antsibull_docs
from antsibull_docs.cli import antsibull_docs

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

Expand All @@ -27,7 +27,7 @@
author = "Mikhail Yohman <@FragmentedPacket>"

# The full version, including alpha/beta/rc tags
release = "3.8.1"
release = "3.9.0"


# -- General configuration ---------------------------------------------------
Expand Down
33 changes: 33 additions & 0 deletions docs/getting_started/how-to-use/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,36 @@ that specify fields that are unique to each tag. Name can be used, but we always
state: "present"
.. warning:: Everything discussed above can be applied to each module, but may need to swap out any arguments for module specific arguments.

Using module default groups
+++++++++++++++++++++++++++++

To avoid having to define the ``netbox_url`` and ``netbox_token`` in each task you can use the module default group feature.

.. code-block:: yaml
---
...
module_defaults:
group/netbox.netbox.netbox:
netbox_url: "http://netbox.local"
netbox_token: "thisIsMyToken"
tasks:
- name: "Example using tags"
netbox.netbox.netbox_device:
data:
name: "Test Device"
tags:
- slug: "my-new-tag1"
- slug: "my-new-tag2"
state: "present"
- name: "Example state: present - Update"
netbox.netbox.netbox_device:
data:
name: "Test Device"
serial: "FXS110011"
state: "present"
.. note::
Module default groups are available from Ansible 2.12.
4 changes: 3 additions & 1 deletion docs/plugins/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Netbox.Netbox
=============

Collection version 3.8.1
Collection version 3.9.0

.. contents::
:local:
Expand Down Expand Up @@ -75,6 +75,7 @@ Modules
* :ref:`netbox_inventory_item module <ansible_collections.netbox.netbox.netbox_inventory_item_module>` -- Creates or removes inventory items from NetBox
* :ref:`netbox_ip_address module <ansible_collections.netbox.netbox.netbox_ip_address_module>` -- Creates or removes IP addresses from NetBox
* :ref:`netbox_ipam_role module <ansible_collections.netbox.netbox.netbox_ipam_role_module>` -- Creates or removes ipam roles from NetBox
* :ref:`netbox_l2vpn module <ansible_collections.netbox.netbox.netbox_l2vpn_module>` -- Create, update or delete L2VPNs within NetBox
* :ref:`netbox_location module <ansible_collections.netbox.netbox.netbox_location_module>` -- Create, update or delete locations within NetBox
* :ref:`netbox_manufacturer module <ansible_collections.netbox.netbox.netbox_manufacturer_module>` -- Create or delete manufacturers within NetBox
* :ref:`netbox_platform module <ansible_collections.netbox.netbox.netbox_platform_module>` -- Create or delete platforms within NetBox
Expand Down Expand Up @@ -167,6 +168,7 @@ Lookup Plugins
netbox_inventory_item_module
netbox_ip_address_module
netbox_ipam_role_module
netbox_l2vpn_module
netbox_location_module
netbox_manufacturer_module
netbox_platform_module
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/nb_inventory_inventory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ netbox.netbox.nb_inventory inventory -- NetBox inventory source
.. Collection note
.. note::
This inventory plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
This inventory plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).

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

Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/nb_lookup_lookup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ netbox.netbox.nb_lookup lookup -- Queries and returns elements from NetBox
.. Collection note
.. note::
This lookup plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
This lookup plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).

To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
You need further requirements to be able to use this lookup plugin,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/netbox_aggregate_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ netbox.netbox.netbox_aggregate module -- Creates or removes aggregates from NetB
.. Collection note
.. note::
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).

To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/netbox_cable_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ netbox.netbox.netbox_cable module -- Create, update or delete cables within NetB
.. Collection note
.. note::
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).

To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/netbox_circuit_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ netbox.netbox.netbox_circuit module -- Create, update or delete circuits within
.. Collection note
.. note::
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).

To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/netbox_circuit_termination_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ netbox.netbox.netbox_circuit_termination module -- Create, update or delete circ
.. Collection note
.. note::
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).

To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/netbox_circuit_type_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ netbox.netbox.netbox_circuit_type module -- Create, update or delete circuit typ
.. Collection note
.. note::
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).

To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/netbox_cluster_group_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ netbox.netbox.netbox_cluster_group module -- Create, update or delete cluster gr
.. Collection note
.. note::
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).

To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/netbox_cluster_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ netbox.netbox.netbox_cluster module -- Create, update or delete clusters within
.. Collection note
.. note::
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).

To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/netbox_cluster_type_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ netbox.netbox.netbox_cluster_type module -- Create, update or delete cluster typ
.. Collection note
.. note::
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).

To install it, use: :code:`ansible-galaxy collection install netbox.netbox`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/netbox_config_context_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ netbox.netbox.netbox_config_context module -- Creates, updates or deletes config
.. Collection note
.. note::
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.8.1).
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.9.0).

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

0 comments on commit ba44b5b

Please sign in to comment.