We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22f04eb commit 92a04c0Copy full SHA for 92a04c0
plugins/modules/netbox_inventory_item.py
@@ -125,6 +125,18 @@
125
asset_tag: "1234"
126
description: "New SFP"
127
state: present
128
+
129
+ - name: Create inventory item with parent
130
+ netbox_inventory_item:
131
+ netbox_url: http://netbox.local
132
+ netbox_token: thisIsMyToken
133
+ data:
134
+ parent_inventory_item:
135
+ name: "Line Card 1"
136
+ device: test100
137
+ name: "10G-SFP+"
138
139
+ state: present
140
141
- name: Delete inventory item within netbox
142
netbox_inventory_item:
0 commit comments