ansible netbox module #1116
lasag-2511
started this conversation in
General
Replies: 1 comment
-
According to the documentation and examples at https://docs.ansible.com/ansible/latest/collections/netbox/netbox/netbox_device_module.html you should use Example from the above link: tasks:
- name: Create device within NetBox with only required information
netbox.netbox.netbox_device:
netbox_url: http://netbox.local
netbox_token: thisIsMyToken
data:
name: Test Device
device_type: C9410R
device_role: Core Switch
site: Main
state: present |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi i am using netbox v3.6.1 and when i try to create device with ansible i have the following issue, has anyone found a solution?
"Unsupported parameters for (netbox.netbox.netbox_device) module: data.role.
Beta Was this translation helpful? Give feedback.
All reactions