-
Notifications
You must be signed in to change notification settings - Fork 254
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Ansible NetBox Collection version
3.21.0
Ansible version
Version: 2.16.14NetBox version
4.3.7
Python version
3.8
Steps to Reproduce
Try to register hierarchical device roles:
- name: Set up Device roles
netbox.netbox.netbox_device_role:
netbox_url: "{{ netbox_url }}"
netbox_token: "{{ netbox_token }}"
data: "{{ item }}"
loop:
- name: "Server: Hypervisor"
color: 9c27b0
description: Virtualization Hypervisor server
slug: server-hypervisor
vm_role: false
- name: "Hypervisor: Oracle OVS"
color: aa1409
description: Oracle Virtualization Server
parent: server-hypervisor
slug: hypervisor-oracle-ovs
vm_role: false
- name: "Hypervisor: VMware ESXi"
color: 673ab7
description: VMware ESXi Hypervisor
parent: server-hypervisor
slug: hypervisor-vmware-esxi"
vm_role: falseExpected Behavior
Succesfull creation of Device role "Server: Hypervisor" and both "Hypervisor: Oracle OVS" and "Hypervisor: VMware ESXi" as children of "Server: Hypervisor" a
Observed Behavior
Unsupported parameters for (netbox.netbox.netbox_device_role) module: data.parent.
Supported parameters include: color, custom_fields, description, name, slug,
tags, vm_role.'
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working