Skip to content

Synchronise list_as_set with ansible_module #711

@dhoffend

Description

@dhoffend

pynetbox version

v.7.5.0

NetBox version

v.4.4.6

Python version

3.10

Steps to Reproduce

As documented in netbox-community/ansible_modules#1486 I would like to bringe the list_as_set variable in line with the ansible module.

Currently updating the netbox permissions via ansible results in reported changed cause the field object_types is compared as ordered list, not as set.

Expected Behavior

as object_types doesn't need be ordered, it should be considered a set

Observed Behavior

object_types are a generic list. Maybe other fields must be check as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    app: pynetboxstatus: needs triageThe issue is awaiting triage by a maintainertype: bugA confirmed report of unexpected behavior in the application

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions