Skip to content

Commit 03a3018

Browse files
authored
Fixes #1249: Release v3.19.0 (#1250)
* Fixes #1249: Release v3.19.0 * Fix indentation * update lock file * Update docs
1 parent 7d7e897 commit 03a3018

File tree

102 files changed

+912
-603
lines changed

Some content is hidden

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

102 files changed

+912
-603
lines changed

.ansible-lint-ignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file contains ignores rule violations for ansible-lint
2-
changelogs/fragments/housekeeping.yml yaml[comments]
2+
changelogs/fragments/ yaml[comments]

CHANGELOG.rst

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,32 @@ NetBox.NetBox Release Notes
44

55
.. contents:: Topics
66

7+
v3.19.0
8+
=======
9+
10+
Minor Changes
11+
-------------
12+
13+
- Add cluster host to dynamic inventory response `#1219 <https://github.com/netbox-community/ansible_modules/pull/1219>`_
14+
- Add galaxy-importer to CI process `#1245 <https://github.com/netbox-community/ansible_modules/issues/1245>`_
15+
- Adjust modules to support NetBox v4.0.0 `#1234 <https://github.com/netbox-community/ansible_modules/pull/1234>`_
16+
- Bump jinja2 from 3.1.2 to 3.1.4 `#1226 <https://github.com/netbox-community/ansible_modules/pull/1226>`_
17+
- Bump requests from 2.31.0 to 2.32.0 `#1236 <https://github.com/netbox-community/ansible_modules/pull/1236>`_
18+
- Drop obsolete Ansible and Python versions and fix tests `#1241 <https://github.com/netbox-community/ansible_modules/issues/1241>`_
19+
- Get ansible-lint passing again (sequence after `#1241 <https://github.com/netbox-community/ansible_modules/issues/1241>`_) `#1243 <https://github.com/netbox-community/ansible_modules/issues/1243>`_
20+
- Update CI process to follow Ansible Collection Standards `#1247 <https://github.com/netbox-community/ansible_modules/issues/1247>`_
21+
- Update top-level README with new minimum Ansible version (sequence after `#1241 <https://github.com/netbox-community/ansible_modules/issues/1241>`_ `#1244 <https://github.com/netbox-community/ansible_modules/issues/1244>`_
22+
- Updated CI to only run changelog job if PR into devel branch is detected. `#1251 <https://github.com/netbox-community/ansible_modules/issues/1251>`_
23+
- Updated CI to support NetBox 4.0 `#1230 <https://github.com/netbox-community/ansible_modules/pull/1230>`_
24+
- Updates to top-level README.md to align collection with Ansible best practices `#1238 <https://github.com/netbox-community/ansible_modules/issues/1238>`_
25+
26+
Bugfixes
27+
--------
28+
29+
- Added ALLOWED_QUERY_PARAMS module_bay by device `#1228 <https://github.com/netbox-community/ansible_modules/pull/1228>`_
30+
- Added label to power outlet `#1222 <https://github.com/netbox-community/ansible_modules/pull/1222>`_
31+
- Added power outlet type iec-60320-c21 to power outlet template and power outlet modules `#1229 <https://github.com/netbox-community/ansible_modules/issues/1229>`_
32+
- Extend query param for parent_location `#1233 <https://github.com/netbox-community/ansible_modules/issues/1233>`_
733

834
v3.18.0
935
=======
@@ -410,8 +436,8 @@ v3.1.2
410436
Release Summary
411437
---------------
412438

413-
This release focuses on ansible-core 2.11 compatibility, general CI fixes for NetBox 2.10-2.11, and doc updates.
414-
This release works with NetBox 3.0, but needs further investigation with regards to idopmentcy (nothing really major) & some CI.
439+
This release focuses on ansible-core 2.11 compatibility, general CI fixes for NetBox 2.10-2.11, and doc updates.
440+
This release works with NetBox 3.0, but needs further investigation with regards to idopmentcy (nothing really major) & some CI.
415441
The next release will idenify and resolve any issues with NetBox 3.0.
416442

417443
Minor Changes
@@ -449,7 +475,6 @@ Release Summary
449475
This release should fix obvious broken changes between collection and NetBox 2.11, but there is most likely more. Please report as they're encountered.
450476
**packages** is now a required Python package and is already included in Ansible 2.10, but anyone using Ansible 2.9 or below must manually pip install the library.
451477

452-
453478
Major Changes
454479
-------------
455480

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To upgrade the collection to the latest available version, run the following com
4141
```
4242
ansible-galaxy collection install netbox.netbox --upgrade
4343
```
44-
You can also install a specific version of the collection, for example, if you need to downgrade when something is broken in the latest version (please report an issue in this repository). Use the following syntax to install version 3.18.0:
44+
You can also install a specific version of the collection, for example, if you need to downgrade when something is broken in the latest version (please report an issue in this repository). Use the following syntax to install version 3.19.0:
4545

4646
```
4747
ansible-galaxy collection install netbox.netbox:==3.18.0

changelogs/changelog.yaml

Lines changed: 259 additions & 215 deletions
Large diffs are not rendered by default.

changelogs/fragments/619-v3.0-ci-fixes.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/allow-jinja2.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/fix_ci.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/housekeeping.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

changelogs/fragments/issue-558.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/issue-951.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/serial_and_asset.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

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.18.0"
30+
release = "3.19.0"
3131

3232

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

docs/plugins/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Netbox.Netbox
1010
=============
1111

12-
Collection version 3.18.0
12+
Collection version 3.19.0
1313

1414
.. contents::
1515
:local:

docs/plugins/nb_inventory_inventory.rst

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ netbox.netbox.nb_inventory inventory -- NetBox inventory source
2323
.. Collection note
2424
2525
.. note::
26-
This inventory plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/ui/repo/published/netbox/netbox/>`_ (version 3.18.0).
26+
This inventory plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/ui/repo/published/netbox/netbox/>`_ (version 3.19.0).
2727

2828
It is not included in ``ansible-core``.
2929
To check whether it is installed, run :code:`ansible-galaxy collection list`.
@@ -435,6 +435,21 @@ Parameters
435435

436436
- INI entries:
437437

438+
.. code-block::
439+
440+
[default]
441+
fact_caching_prefix = ansible_inventory_
442+
443+
444+
Removed in: version 2.16 of ansible.builtin
445+
446+
447+
Why: Fixes typing error in INI section name
448+
449+
Alternative: Use the 'defaults' section instead
450+
451+
452+
438453
.. code-block::
439454
440455
[defaults]
@@ -1296,7 +1311,7 @@ Parameters
12961311
.. raw:: html
12971312

12981313
</div>
1299-
1314+
13001315
* - .. raw:: html
13011316

13021317
<div class="ansible-option-indent"></div><div class="ansible-option-cell">
@@ -1340,7 +1355,7 @@ Parameters
13401355

13411356
The default value when the host variable's value is an empty string.
13421357

1343-
This option is mutually exclusive with \ :ansopt:`netbox.netbox.nb\_inventory#inventory:keyed\_groups[].trailing\_separator`\ .
1358+
This option is mutually exclusive with \ :literal:`trailing\_separator`\ .
13441359

13451360

13461361
.. raw:: html
@@ -1576,9 +1591,9 @@ Parameters
15761591

15771592
<div class="ansible-option-indent-desc"></div><div class="ansible-option-cell">
15781593

1579-
Set this option to \ :ansval:`False`\ to omit the \ :ansopt:`netbox.netbox.nb\_inventory#inventory:keyed\_groups[].separator`\ after the host variable when the value is an empty string.
1594+
Set this option to \ :emphasis:`False`\ to omit the \ :literal:`separator`\ after the host variable when the value is an empty string.
15801595

1581-
This option is mutually exclusive with \ :ansopt:`netbox.netbox.nb\_inventory#inventory:keyed\_groups[].default\_value`\ .
1596+
This option is mutually exclusive with \ :literal:`default\_value`\ .
15821597

15831598

15841599
.. rst-class:: ansible-option-line
@@ -2108,7 +2123,7 @@ Parameters
21082123

21092124
<div class="ansible-option-cell">
21102125

2111-
If \ :ansval:`yes`\ make invalid entries a fatal error, otherwise skip and continue.
2126+
If \ :literal:`yes`\ make invalid entries a fatal error, otherwise skip and continue.
21122127

21132128
Since it is possible to use facts in the expressions they might not always be available and we ignore those errors by default.
21142129

@@ -2481,7 +2496,7 @@ Examples
24812496

24822497
.. code-block:: yaml+jinja
24832498

2484-
2499+
24852500
# netbox_inventory.yml file in YAML format
24862501
# Example command line: ansible-inventory -v --list -i netbox_inventory.yml
24872502

docs/plugins/nb_lookup_lookup.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ netbox.netbox.nb_lookup lookup -- Queries and returns elements from NetBox
2323
.. Collection note
2424
2525
.. note::
26-
This lookup plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/ui/repo/published/netbox/netbox/>`_ (version 3.18.0).
26+
This lookup plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/ui/repo/published/netbox/netbox/>`_ (version 3.19.0).
2727

2828
It is not included in ``ansible-core``.
2929
To check whether it is installed, run :code:`ansible-galaxy collection list`.
@@ -502,7 +502,7 @@ Examples
502502

503503
.. code-block:: yaml+jinja
504504

505-
505+
506506
tasks:
507507
# query a list of devices
508508
- name: Obtain list of devices from NetBox

docs/plugins/netbox_aggregate_module.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ netbox.netbox.netbox_aggregate module -- Creates or removes aggregates from NetB
2323
.. Collection note
2424
2525
.. note::
26-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/ui/repo/published/netbox/netbox/>`_ (version 3.18.0).
26+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/ui/repo/published/netbox/netbox/>`_ (version 3.19.0).
2727

2828
It is not included in ``ansible-core``.
2929
To check whether it is installed, run :code:`ansible-galaxy collection list`.
@@ -156,7 +156,7 @@ Parameters
156156
.. raw:: html
157157

158158
</div>
159-
159+
160160
* - .. raw:: html
161161

162162
<div class="ansible-option-indent"></div><div class="ansible-option-cell">
@@ -701,7 +701,7 @@ Notes
701701

702702
.. note::
703703
- Tags should be defined as a YAML list
704-
- This should be ran with connection \ :literal:`local`\ and hosts \ :literal:`localhost`\
704+
- This should be ran with connection \ :literal:`local`\ and hosts \ :literal:`localhost`\
705705

706706
.. Seealso
707707
@@ -713,7 +713,7 @@ Examples
713713

714714
.. code-block:: yaml+jinja
715715

716-
716+
717717
- name: "Test NetBox aggregate module"
718718
connection: local
719719
hosts: localhost

docs/plugins/netbox_asn_module.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ netbox.netbox.netbox_asn module -- Create, update or delete ASNs within NetBox
2323
.. Collection note
2424
2525
.. note::
26-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/ui/repo/published/netbox/netbox/>`_ (version 3.18.0).
26+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/ui/repo/published/netbox/netbox/>`_ (version 3.19.0).
2727

2828
It is not included in ``ansible-core``.
2929
To check whether it is installed, run :code:`ansible-galaxy collection list`.
@@ -156,7 +156,7 @@ Parameters
156156
.. raw:: html
157157

158158
</div>
159-
159+
160160
* - .. raw:: html
161161

162162
<div class="ansible-option-indent"></div><div class="ansible-option-cell">
@@ -611,7 +611,7 @@ Notes
611611

612612
.. note::
613613
- Tags should be defined as a YAML list
614-
- This should be ran with connection \ :literal:`local`\ and hosts \ :literal:`localhost`\
614+
- This should be ran with connection \ :literal:`local`\ and hosts \ :literal:`localhost`\
615615

616616
.. Seealso
617617
@@ -623,7 +623,7 @@ Examples
623623

624624
.. code-block:: yaml+jinja
625625

626-
626+
627627
- name: "Test NetBox modules"
628628
connection: local
629629
hosts: localhost

docs/plugins/netbox_cable_module.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ netbox.netbox.netbox_cable module -- Create, update or delete cables within NetB
2323
.. Collection note
2424
2525
.. note::
26-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/ui/repo/published/netbox/netbox/>`_ (version 3.18.0).
26+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/ui/repo/published/netbox/netbox/>`_ (version 3.19.0).
2727

2828
It is not included in ``ansible-core``.
2929
To check whether it is installed, run :code:`ansible-galaxy collection list`.
@@ -156,7 +156,7 @@ Parameters
156156
.. raw:: html
157157

158158
</div>
159-
159+
160160
* - .. raw:: html
161161

162162
<div class="ansible-option-indent"></div><div class="ansible-option-cell">
@@ -1076,7 +1076,7 @@ Notes
10761076

10771077
.. note::
10781078
- Tags should be defined as a YAML list
1079-
- This should be ran with connection \ :literal:`local`\ and hosts \ :literal:`localhost`\
1079+
- This should be ran with connection \ :literal:`local`\ and hosts \ :literal:`localhost`\
10801080

10811081
.. Seealso
10821082
@@ -1088,7 +1088,7 @@ Examples
10881088

10891089
.. code-block:: yaml+jinja
10901090

1091-
1091+
10921092
- name: "Test NetBox modules"
10931093
connection: local
10941094
hosts: localhost

docs/plugins/netbox_circuit_module.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ netbox.netbox.netbox_circuit module -- Create, update or delete circuits within
2323
.. Collection note
2424
2525
.. note::
26-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/ui/repo/published/netbox/netbox/>`_ (version 3.18.0).
26+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/ui/repo/published/netbox/netbox/>`_ (version 3.19.0).
2727

2828
It is not included in ``ansible-core``.
2929
To check whether it is installed, run :code:`ansible-galaxy collection list`.
@@ -156,7 +156,7 @@ Parameters
156156
.. raw:: html
157157

158158
</div>
159-
159+
160160
* - .. raw:: html
161161

162162
<div class="ansible-option-indent"></div><div class="ansible-option-cell">
@@ -821,7 +821,7 @@ Notes
821821

822822
.. note::
823823
- Tags should be defined as a YAML list
824-
- This should be ran with connection \ :literal:`local`\ and hosts \ :literal:`localhost`\
824+
- This should be ran with connection \ :literal:`local`\ and hosts \ :literal:`localhost`\
825825

826826
.. Seealso
827827
@@ -833,7 +833,7 @@ Examples
833833

834834
.. code-block:: yaml+jinja
835835

836-
836+
837837
- name: "Test NetBox modules"
838838
connection: local
839839
hosts: localhost

docs/plugins/netbox_circuit_termination_module.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ netbox.netbox.netbox_circuit_termination module -- Create, update or delete circ
2323
.. Collection note
2424
2525
.. note::
26-
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/ui/repo/published/netbox/netbox/>`_ (version 3.18.0).
26+
This module is part of the `netbox.netbox collection <https://galaxy.ansible.com/ui/repo/published/netbox/netbox/>`_ (version 3.19.0).
2727

2828
It is not included in ``ansible-core``.
2929
To check whether it is installed, run :code:`ansible-galaxy collection list`.
@@ -156,7 +156,7 @@ Parameters
156156
.. raw:: html
157157

158158
</div>
159-
159+
160160
* - .. raw:: html
161161

162162
<div class="ansible-option-indent"></div><div class="ansible-option-cell">
@@ -798,7 +798,7 @@ Notes
798798

799799
.. note::
800800
- Tags should be defined as a YAML list
801-
- This should be ran with connection \ :literal:`local`\ and hosts \ :literal:`localhost`\
801+
- This should be ran with connection \ :literal:`local`\ and hosts \ :literal:`localhost`\
802802

803803
.. Seealso
804804
@@ -810,7 +810,7 @@ Examples
810810

811811
.. code-block:: yaml+jinja
812812

813-
813+
814814
- name: "Test NetBox modules"
815815
connection: local
816816
hosts: localhost

0 commit comments

Comments
 (0)