You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.rst
+28
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,34 @@ NetBox.NetBox Release Notes
4
4
5
5
.. contents:: Topics
6
6
7
+
v3.21.0
8
+
=======
9
+
10
+
Minor Changes
11
+
-------------
12
+
13
+
- Add `label`, `description` and `enabled` to `netbox_device_interface_template` (https://github.com/netbox-community/ansible_modules/issues/1333)
14
+
- Add example for using ansible variables in lookup
15
+
- Add name as option to netbox_fhrp_group
16
+
- Add support for custom headers
17
+
- netbox_cluster - Add options scope and scope_type for NetBox 4.2+
18
+
- netbox_device_interface - Add primary_mac_address option for NetBox 4.2+
19
+
- netbox_prefix - Add options scope and scope_type for NetBox 4.2+
20
+
- netbox_vm_interface - Add primary_mac_address option for NetBox 4.2+
21
+
22
+
Bugfixes
23
+
--------
24
+
25
+
- Fix missing netbox_config_template module in module_defaults
26
+
- Fixed an isssue with module_default parameter inheritance for modules netbox_config_template, netbox_custom_field_choice_set, netbox_permission, netbox_token, netbox_user, and netbox_user_group.
27
+
- fix call /api/status/ instead /api/status in nb_inventory plugin. (https://github.com/netbox-community/ansible_modules/issues/1335).
28
+
- netbox_ip_address - Fixed the problem preventing assignment of an IP address to a network interface
29
+
30
+
New Modules
31
+
-----------
32
+
33
+
- netbox.netbox.netbox_mac_address - Create, update or delete MAC addresses within NetBox
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ This Ansible collection consists of a set of modules to define the intended netw
8
8
## Requirements
9
9
10
10
- You must be running one of the two most recent releases of NetBox
11
-
- A NetBox write-enabled API token when using modules or a read-only token for the `nb_lookup` and `nb_inventory` plugins.
11
+
- A NetBox write-enabled API token when using modules or a read-only token for the `nb_lookup` and `nb_inventory` plugins.
12
12
- Python 3.10+
13
13
- Python modules:
14
14
- pytz
@@ -152,7 +152,7 @@ Customers of NetBox Labs and Ansible using the officially certified version of t
152
152
The collection release notes and changelog can be found [here](https://github.com/netbox-community/ansible_modules/releases).
153
153
154
154
## Related Information
155
-
Some extra resources you might find useful for both the Anisble collection and for NetBox itself:
155
+
Some extra resources you might find useful for both the Ansible collection and for NetBox itself:
156
156
-[NetBox Zero to Hero](https://netboxlabs.com/zero-to-hero/) - free 12 part course that takes you from an empty NetBox through to a fully deployed branch site, using the Ansible collection extensively along the way.
157
157
-[Network Configuration Assurance with NetBox and Ansible](https://netboxlabs.com/blog/network-configuration-assurance-with-netbox-and-ansible/) - blog post featuring the Inventory plugin being used in a simple network automation use case to compare actual network state Vs intended state as defined in NetBox.
158
158
- Official NetBox [documentation](https://docs.netbox.dev/en/stable/).
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.
1669
+
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.
1622
1670
1623
1671
This option is mutually exclusive with :ansopt:`netbox.netbox.nb\_inventory#inventory:keyed\_groups[].default\_value`.
1624
1672
@@ -1669,13 +1717,13 @@ Parameters
1669
1717
1670
1718
<div class="ansible-option-cell">
1671
1719
1672
-
Use in conjunction with keyed\_groups.
1720
+
Use in conjunction with :ansopt:`netbox.netbox.nb\_inventory#inventory:keyed\_groups`.
1673
1721
1674
1722
By default, a keyed group that does not have a prefix or a separator provided will have a name that starts with an underscore.
1675
1723
1676
-
This is because the default prefix is "" and the default separator is "\_".
1724
+
This is because the default prefix is :ansval:`""` and the default separator is :ansval:`"\_"`.
1677
1725
1678
-
Set this option to False to omit the leading underscore (or other separator) if no prefix is given.
1726
+
Set this option to :ansval:`false` to omit the leading underscore (or other separator) if no prefix is given.
1679
1727
1680
1728
If the group name is derived from a mapping the separator is still used to concatenate the items.
1681
1729
@@ -2586,6 +2634,8 @@ Examples
2586
2634
device_query_filters:
2587
2635
- has_primary_ip: 'true'
2588
2636
- tenant__n: internal
2637
+
headers:
2638
+
Cookie: "{{ auth_cookie }}"
2589
2639
2590
2640
# has_primary_ip is a useful way to filter out patch panels and other passive devices
2591
2641
# Adding '__n' to a field searches for the negation of the value.
0 commit comments