Skip to content

Commit 43aba39

Browse files
Release: v1.1.0 (#356)
1 parent 87e76fe commit 43aba39

27 files changed

+204
-44
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
global:
1111
- COLLECTION_NAMESPACE: "netbox"
1212
- COLLECTION_NAME: "netbox"
13-
- COLLECTION_VERSION: "1.0.2"
13+
- COLLECTION_VERSION: "1.1.0"
1414
- secure: "tE6GtwrRU+Kjobx/94xqR2MqM20pHCnrLcHgPzIHA3npdwuA+GjCBiBLTkEEQM4fUWIfzUTyjSr9bZErm1PTI1GcIRdniTgJ3ZzSSkE7tgeYALB/7xsusB57SlmbBQm2SGwU558uWZ3NHEsi0WTgD8GKZo77OpGX72FZKsVXOz6k2wve51sOtoSVjgCsvWTmZHx4ynGdiA5wFkZfaEcjXECahKtunW+MlB5kpJzkVeLRUEXFMhWlsIYiA5nj8OI/X3Nk9ugh1ribENX9LrjpgrqQ9YariZ8G6py1ONuKZIn2g7xs5kNQ3qL6HL6N7SoUxiwH16CfSyugFaYiMfaxQ4NUVGGRHS4vSGbNIf+gLHcYvP40miI1f/+pntCzqygZMhW73FX2o+KH2OGv09khOl8k1nDg2/XvW0kCc/FU6l+Jp5wCC8H9X2uiULtQpRqts5TzIonlPEzGIpfGFgJ5m54Emhv9gjG1Z5OOyL/qae1Wr+L/uhiFafcglZYh8NHEMWCUCkeqFqR2kDmUMtdgYLD7Q7NdwlL/PSVVs1l7UPiQHlnecQKEHN7CvR3eKByTEmkCKafRYh/JQ9rBt9sZc7aAPVu+w3wWUwbHS4o4vVnmyXvJb1PeJSiuynF7CBo4Qd6qj4YwX8gLK6PylGyaMOp169u6xw1mo5/CX0pJ3x4="
1515

1616
jobs:

CHANGELOG.rst

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

77

8+
v1.1.0
9+
======
10+
11+
Minor Changes
12+
-------------
13+
14+
- Add ``follow_redirects`` option to inventory plugin (https://github.com/netbox-community/ansible_modules/pull/323)
15+
16+
Bugfixes
17+
--------
18+
19+
- Prevent inventory plugin from failing on 403 and print warning message (https://github.com/netbox-community/ansible_modules/pull/354)
20+
- Update ``netbox_ip_address`` module to accept ``assigned_object`` to work with NetBox 2.9 (https://github.com/netbox-community/ansible_modules/pull/345)
21+
- Update inventory plugin to properly associate IP address to interfaces with NetBox 2.9 (https://github.com/netbox-community/ansible_modules/pull/334)
22+
- Update inventory plugin to work with tags with NetBox 2.9 (https://github.com/netbox-community/ansible_modules/pull/340)
23+
- Update modules to be able to properly update tags to work with NetBox 2.9 (https://github.com/netbox-community/ansible_modules/pull/345)
24+
825
v1.0.2
926
======
1027

changelogs/changelog.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,3 +390,19 @@ releases:
390390
- fix_tags.yml
391391
- fix_vm_role.yml
392392
release_date: '2020-08-29'
393+
1.1.0:
394+
changes:
395+
bugfixes:
396+
- Prevent inventory plugin from failing on 403 and print warning message (https://github.com/netbox-community/ansible_modules/pull/354)
397+
- Update ``netbox_ip_address`` module to accept ``assigned_object`` to work
398+
with NetBox 2.9 (https://github.com/netbox-community/ansible_modules/pull/345)
399+
- Update inventory plugin to properly associate IP address to interfaces with
400+
NetBox 2.9 (https://github.com/netbox-community/ansible_modules/pull/334)
401+
- Update inventory plugin to work with tags with NetBox 2.9 (https://github.com/netbox-community/ansible_modules/pull/340)
402+
- Update modules to be able to properly update tags to work with NetBox 2.9
403+
(https://github.com/netbox-community/ansible_modules/pull/345)
404+
minor_changes:
405+
- Add ``follow_redirects`` option to inventory plugin (https://github.com/netbox-community/ansible_modules/pull/323)
406+
fragments:
407+
- release-1.1.0.yml
408+
release_date: '2020-10-06'

docs/conf.py

Lines changed: 5 additions & 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 = "1.0.2"
30+
release = "1.1.0"
3131

3232

3333
# -- General configuration ---------------------------------------------------
@@ -80,6 +80,9 @@ def create_antsibull_docs(files, plugin_type=None):
8080
"""
8181
for f in files:
8282
file_name = re.search(r"(?:.+\/)(\S+)\.py", str(f)).group(1)
83+
if file_name == "netbox_interface":
84+
continue
85+
8386
if plugin_type is not None:
8487
args_string = f"junk plugin --dest-dir plugins/{plugin_type}/{file_name}/ --plugin-type {plugin_type} netbox.netbox.{file_name}"
8588
else:
@@ -88,6 +91,7 @@ def create_antsibull_docs(files, plugin_type=None):
8891
try:
8992
run(args)
9093
except:
94+
print(args)
9195
sys.exit(1)
9296

9397

docs/plugins/inventory/nb_inventory/netbox.netbox.nb_inventory_inventory.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,31 @@ Parameters
399399
<div>If <em>local_context_data</em> is enabled, by default it&#x27;s added as a host var named local_context_data.</div>
400400
<div>If flatten_local_context_data is set to True, the config context variables will be added directly to the host instead.</div>
401401
</td>
402+
</tr>
403+
<tr>
404+
<td colspan="1">
405+
<div class="ansibleOptionAnchor" id="parameter-follow_redirects"></div>
406+
<b>follow_redirects</b>
407+
<a class="ansibleOptionLink" href="#parameter-follow_redirects" title="Permalink to this option"></a>
408+
<div style="font-size: small">
409+
<span style="color: purple">string</span>
410+
</div>
411+
</td>
412+
<td>
413+
<ul style="margin: 0; padding: 0"><b>Choices:</b>
414+
<li><div style="color: blue"><b>urllib2</b>&nbsp;&larr;</div></li>
415+
<li>all</li>
416+
<li>yes</li>
417+
<li>safe</li>
418+
<li>none</li>
419+
</ul>
420+
</td>
421+
<td>
422+
</td>
423+
<td>
424+
<div>Determine how redirects are followed.</div>
425+
<div>By default, <em>follow_redirects</em> is set to uses urllib2 default behavior.</div>
426+
</td>
402427
</tr>
403428
<tr>
404429
<td colspan="1">
@@ -417,6 +442,8 @@ Parameters
417442
<li>tenant</li>
418443
<li>racks</li>
419444
<li>rack</li>
445+
<li>rack_group</li>
446+
<li>rack_role</li>
420447
<li>tags</li>
421448
<li>tag</li>
422449
<li>device_roles</li>

docs/plugins/modules/netbox_aggregate/netbox.netbox.netbox_aggregate_module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Parameters
156156
<a class="ansibleOptionLink" href="#parameter-data/rir" title="Permalink to this option"></a>
157157
<div style="font-size: small">
158158
<span style="color: purple">raw</span>
159-
/ <span style="color: red">required</span> </div>
159+
</div>
160160
</td>
161161
<td>
162162
</td>

docs/plugins/modules/netbox_circuit/netbox.netbox.netbox_circuit_module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Parameters
204204
<a class="ansibleOptionLink" href="#parameter-data/provider" title="Permalink to this option"></a>
205205
<div style="font-size: small">
206206
<span style="color: purple">raw</span>
207-
/ <span style="color: red">required</span> </div>
207+
</div>
208208
</td>
209209
<td>
210210
</td>

docs/plugins/modules/netbox_cluster/netbox.netbox.netbox_cluster_module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Parameters
108108
<a class="ansibleOptionLink" href="#parameter-data/cluster_type" title="Permalink to this option"></a>
109109
<div style="font-size: small">
110110
<span style="color: purple">raw</span>
111-
/ <span style="color: red">required</span> </div>
111+
</div>
112112
</td>
113113
<td>
114114
</td>

docs/plugins/modules/netbox_device/netbox.netbox.netbox_device_module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ netbox.netbox.netbox_device -- Create, update or delete devices within Netbox
2828

2929
.. version_added
3030
31-
.. versionadded:: 2.8 of
31+
.. versionadded:: 0.1.0 of
3232

3333
.. contents::
3434
:local:

docs/plugins/modules/netbox_device_bay/netbox.netbox.netbox_device_bay_module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Parameters
108108
<a class="ansibleOptionLink" href="#parameter-data/device" title="Permalink to this option"></a>
109109
<div style="font-size: small">
110110
<span style="color: purple">raw</span>
111-
/ <span style="color: red">required</span> </div>
111+
</div>
112112
</td>
113113
<td>
114114
</td>

docs/plugins/modules/netbox_device_interface/netbox.netbox.netbox_device_interface_module.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ netbox.netbox.netbox_device_interface -- Creates or removes interfaces on device
2828

2929
.. version_added
3030
31-
.. versionadded:: 2.8 of
31+
.. versionadded:: 0.1.0 of
3232

3333
.. contents::
3434
:local:
@@ -108,7 +108,7 @@ Parameters
108108
<a class="ansibleOptionLink" href="#parameter-data/device" title="Permalink to this option"></a>
109109
<div style="font-size: small">
110110
<span style="color: purple">raw</span>
111-
/ <span style="color: red">required</span> </div>
111+
</div>
112112
</td>
113113
<td>
114114
</td>

docs/plugins/modules/netbox_device_role/netbox.netbox.netbox_device_role_module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Parameters
9292
<a class="ansibleOptionLink" href="#parameter-data/color" title="Permalink to this option"></a>
9393
<div style="font-size: small">
9494
<span style="color: purple">string</span>
95-
/ <span style="color: red">required</span> </div>
95+
</div>
9696
</td>
9797
<td>
9898
</td>

docs/plugins/modules/netbox_device_type/netbox.netbox.netbox_device_type_module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Parameters
144144
<a class="ansibleOptionLink" href="#parameter-data/manufacturer" title="Permalink to this option"></a>
145145
<div style="font-size: small">
146146
<span style="color: purple">raw</span>
147-
/ <span style="color: red">required</span> </div>
147+
</div>
148148
</td>
149149
<td>
150150
</td>

docs/plugins/modules/netbox_front_port_template/netbox.netbox.netbox_front_port_template_module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Parameters
156156
<a class="ansibleOptionLink" href="#parameter-data/type" title="Permalink to this option"></a>
157157
<div style="font-size: small">
158158
<span style="color: purple">string</span>
159-
/ <span style="color: red">required</span> </div>
159+
</div>
160160
</td>
161161
<td>
162162
<ul style="margin: 0; padding: 0"><b>Choices:</b>

docs/plugins/modules/netbox_inventory_item/netbox.netbox.netbox_inventory_item_module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Parameters
124124
<a class="ansibleOptionLink" href="#parameter-data/device" title="Permalink to this option"></a>
125125
<div style="font-size: small">
126126
<span style="color: purple">raw</span>
127-
/ <span style="color: red">required</span> </div>
127+
</div>
128128
</td>
129129
<td>
130130
</td>

0 commit comments

Comments
 (0)