Git Product home page Git Product logo

Comments (5)

f-bor avatar f-bor commented on July 20, 2024

I tried to run the following on a fresh 2.5.1 install and it worked:

      pfsense_vlan:
        interface: xn0
        state: present
        vlan_id: "{{ item }}"
      loop: [1500, 1501, 1502]

Do you have a lagg set on the pfSense where it fails ?

from ansible-pfsense.

robindbe avatar robindbe commented on July 20, 2024

No, it's not a lagg, just a normal interface. It's a VMXNET3 on the VMware side.
I tried again, I even downloaded the modules again but it's still the same error on 2.5.1.
It also throws a PHP error on the pfSense side:

PHP ERROR: Type: 1, File: Standard input code, Line: 2, Message: Uncaught Error: Call to undefined function is_jumbo_capable() in Standard input code:2
Stack trace:
#0 {main}

from ansible-pfsense.

desnij avatar desnij commented on July 20, 2024

@WintyBe I had the same error, I am not an ansible guru but

After changing pfsense_vlan to pfsensible.core.vlan it worked. so I assume this is related to an ansible configuration

ps: Thanks to the devs for this project, I hate clicking on web pages :)

from ansible-pfsense.

robindbe avatar robindbe commented on July 20, 2024

@WintyBe I had the same error, I am not an ansible guru but

After changing pfsense_vlan to pfsensible.core.vlan it worked. so I assume this is related to an ansible configuration

ps: Thanks to the devs for this project, I hate clicking on web pages :)

Alright, I'll see if I can move our transition to the collection up the schedule and hopefully do it next week. I'll come back with some feedback.

from ansible-pfsense.

robindbe avatar robindbe commented on July 20, 2024

I can confirm that using the pfsensible.core.vlan module works perfectly fine.
Not debug output, but still:

TASK [Provision VLANs on trunk interface] ****************************************************************************************************************************************************************************************************************************
changed: [localhost -> 192.0.2.65] => (item=1501)
changed: [localhost -> 192.0.2.65] => (item=1502)
changed: [localhost -> 192.0.2.65] => (item=1500)

So I assume its definitely advised to move to the Collection.

from ansible-pfsense.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.