Replies: 1 comment
-
Disregard, didn't realize this should be formatted as vid: and site: within a list of dictionaries. |
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.
-
Getting some odd behavior when trying to use the following task:
netbox.netbox.netbox_device_interface:
netbox_url: https://netbox.bolcorp.barretteol.com/
netbox_token: "{{apiToken}}"
data:
device: "{{ansible_net_hostname}}"
name: "{{l2_interface.name}}"
mode: 'Tagged'
tagged_vlans:
vid: "{{sorted_vlans}}"
site: "{{siteTag}}"
state: present
validate_certs: no
ignore_errors: true
delegate_to: localhost
sorted_vlans contains a wide range of multiple vlans that have been converted to integers with duplicate vlans existing in different sites. Was expecting the site: parameter to solve this but no luck.
Any ideas would be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions