puzzle / puzzle.opnsense

An Ansible Collection to configure an opnsense Firewall
https://puzzle.github.io/puzzle.opnsense/collections/puzzle/opnsense/index.html
GNU General Public License v3.0
23 stars 12 forks source link

interfaces fails to find VLAN devices #125

Closed sangdrax8 closed 2 months ago

sangdrax8 commented 4 months ago

Describe the bug I am trying to get the interfaces_assignments module to assign a vlan interface, and it gives the error Device was not found on OPNsense Instance!

To Reproduce Set the device to a vlan interface

- name: assign interfaces
  puzzle.opnsense.interfaces_assignments:
    identifier: "opt3"
    device: "vlan0.310"
    description: "IOT"

In the GUI, it is identified correctly, see the below screenshot. When I use a different interface and fill in these fields, it works just fine for them.

Expected behavior Configure the interface

Screenshots image

Environment

Additional context Add any other context about the problem here.

KiLLuuuhh commented 3 months ago

Hello @sangdrax8

Again, thank you for taking the time and contribute to this project.

Your absolutely right about this. We will fix this with the next release.

DonGiovanni83 commented 3 months ago

@sangdrax8 Thanks for your bug report. We have had a look at it and noticed that we did not consider the so called plugin interfaces (all interfaces configured in Interfaces>Other Types).

We now take them into account as well, and the relevant changes will be present in the next release.

DonGiovanni83 commented 2 months ago

These changes are part of the new release v1.2.0