Skip to content

More than one result returned for bridge #863

Answered by rodvand
kemeris2000 asked this question in Q&A
Discussion options

You must be logged in to vote

Try this:

- name: Add bridge ports
      netbox.netbox.netbox_device_interface:
      netbox_url: "{{ netbox_api_endpoint }}"
      netbox_token: "{{ netbox_api_token_ansible_sync }}"
        data:
          device: "{{ inventory_hostname }}"
          name: "{{ item.ifname }}"
          bridge:
            name: "vmbr0"
            device: "{{ inventory_hostname }}"

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sc68cal
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #856 on November 07, 2022 15:23.