File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 9
9
global :
10
10
- COLLECTION_NAMESPACE : netbox_community
11
11
- COLLECTION_NAME : ansible_modules
12
- - COLLECTION_VERSION : 0.1.7
12
+ - COLLECTION_VERSION : 0.1.8
13
13
- secure : " tE6GtwrRU+Kjobx/94xqR2MqM20pHCnrLcHgPzIHA3npdwuA+GjCBiBLTkEEQM4fUWIfzUTyjSr9bZErm1PTI1GcIRdniTgJ3ZzSSkE7tgeYALB/7xsusB57SlmbBQm2SGwU558uWZ3NHEsi0WTgD8GKZo77OpGX72FZKsVXOz6k2wve51sOtoSVjgCsvWTmZHx4ynGdiA5wFkZfaEcjXECahKtunW+MlB5kpJzkVeLRUEXFMhWlsIYiA5nj8OI/X3Nk9ugh1ribENX9LrjpgrqQ9YariZ8G6py1ONuKZIn2g7xs5kNQ3qL6HL6N7SoUxiwH16CfSyugFaYiMfaxQ4NUVGGRHS4vSGbNIf+gLHcYvP40miI1f/+pntCzqygZMhW73FX2o+KH2OGv09khOl8k1nDg2/XvW0kCc/FU6l+Jp5wCC8H9X2uiULtQpRqts5TzIonlPEzGIpfGFgJ5m54Emhv9gjG1Z5OOyL/qae1Wr+L/uhiFafcglZYh8NHEMWCUCkeqFqR2kDmUMtdgYLD7Q7NdwlL/PSVVs1l7UPiQHlnecQKEHN7CvR3eKByTEmkCKafRYh/JQ9rBt9sZc7aAPVu+w3wWUwbHS4o4vVnmyXvJb1PeJSiuynF7CBo4Qd6qj4YwX8gLK6PylGyaMOp169u6xw1mo5/CX0pJ3x4="
14
14
15
15
matrix :
@@ -29,7 +29,7 @@ matrix:
29
29
- pip install pytest==4.6.5 pytest-mock pytest-xdist jinja2 PyYAML black==19.10b0
30
30
- pip install pynetbox cryptography codecov jmespath ansible
31
31
32
- - name : " Python 3.6 - Netbox Latest - Ansible Devel"
32
+ - name : " Python 3.6 - Netbox 2.6 - Ansible Devel"
33
33
python : 3.6
34
34
env : PYTHON_VER=3.6 VERSION=v2.6
35
35
install :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ namespace: netbox_community
9
9
name : ansible_modules
10
10
11
11
# The version of the collection. Must be compatible with semantic versioning
12
- version : 0.1.7
12
+ version : 0.1.8
13
13
14
14
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
15
15
readme : README.md
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ def run(self):
94
94
if self .endpoint == "interfaces" :
95
95
if self .nb_object :
96
96
if self .nb_object .device :
97
- device = nb_endpoint .get (self .nb_object .device .id )
97
+ device = self . nb . dcim . devices .get (self .nb_object .device .id )
98
98
if (
99
99
device ["virtual_chassis" ]
100
100
and self .nb_object .device .id != self .data ["device" ]
You can’t perform that action at this time.
0 commit comments