You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, we are seeing the same behavior. Initial run works but seems to ignore ui_visibility value and just sets the default for the object. Subsequent runs fail and display the following error.
failed: [localhost] (item={'name': 'SiteID', 'description': 'Defines the site ID', 'content_types': ['dcim.site'], 'type': 'integer', 'ui_visibility': 'read-only', 'ui_editable': False, 'required': True}) => changed=false
ansible_loop_var: item
item:
content_types:
- dcim.site
description: Defines the site ID
name: SiteID
required: true
type: integer
ui_editable: false
ui_visibility: read-only
msg: ui_visibility does not exist on existing object. Check to make sure valid field.
This seems to be possibly a duplicate of #1135. Unfortunately I have had to put the associated PR on hold since pynetbox has not seen updates in half a year and we are re-evaluating the use of NetBox vs. a fork.
Ansible NetBox Collection version
v3.17.0
Ansible version
NetBox version
v3.7.5
Python version
3.11
Steps to Reproduce
Run this playbook twice:
The first run works as expected, creating the custom variable.
The second run however fails:
Expected Behavior
I expected either an unchanged message or a change message in case something was changed.
Observed Behavior
ui_visibility does not exist on existing object
The text was updated successfully, but these errors were encountered: