Git Product home page Git Product logo

Comments (6)

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

Sorry about that. It's fixed.

from ansible-pfsense.

JoshuaLyle avatar JoshuaLyle commented on July 19, 2024

thanks for the quick fix! really cool project y'all have here!

from ansible-pfsense.

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

Thanks ! And cool users :)

from ansible-pfsense.

JoshuaLyle avatar JoshuaLyle commented on July 19, 2024
The full traceback is:
Traceback (most recent call last):                                                                                  
  File "/root/.ansible/tmp/ansible-tmp-1578521539.0594368-85925942926677/AnsiballZ_pfsense_interface.py", line 102, in <module>
    _ansiballz_main() 
  File "/root/.ansible/tmp/ansible-tmp-1578521539.0594368-85925942926677/AnsiballZ_pfsense_interface.py", line 94, in _ansiballz_main
    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
  File "/root/.ansible/tmp/ansible-tmp-1578521539.0594368-85925942926677/AnsiballZ_pfsense_interface.py", line 40, in invoke_module
    runpy.run_module(mod_name='ansible.modules.pfsense_interface', init_globals=None, run_name='__main__', alter_sys=True)
  File "/usr/local/lib/python2.7/runpy.py", line 188, in run_module
    fname, loader, pkg_name)
  File "/usr/local/lib/python2.7/runpy.py", line 82, in _run_module_code
    mod_name, mod_fname, mod_loader, pkg_name)
  File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/tmp/ansible_pfsense_interface_payload_tV3fl2/ansible_pfsense_interface_payload.zip/ansible/modules/pfsense_interface.py", line 137, in <module>
  File "/tmp/ansible_pfsense_interface_payload_tV3fl2/ansible_pfsense_interface_payload.zip/ansible/modules/pfsense_interface.py", line 132, in main
  File "/tmp/ansible_pfsense_interface_payload_tV3fl2/ansible_pfsense_interface_payload.zip/ansible/module_utils/network/pfsense/pfsense_module_base.py", line 182, in run
  File "/tmp/ansible_pfsense_interface_payload_tV3fl2/ansible_pfsense_interface_payload.zip/ansible/module_utils/network/pfsense/pfsense_interface.py", line 114, in _params_to_obj
  File "/tmp/ansible_pfsense_interface_payload_tV3fl2/ansible_pfsense_interface_payload.zip/ansible/module_utils/network/pfsense/pfsense_interface.py", line 73, in _check_overlaps
  File "/tmp/ansible_pfsense_interface_payload_tV3fl2/ansible_pfsense_interface_payload.zip/ansible/module_utils/compat/ipaddress.py", line 261, in ip_network
ValueError: u'dhcp/None' does not appear to be an IPv4 or IPv6 network

Hmmm so it seems it's still happening. I'm not sure where it's getting u'dhcp/None from. To give more info about my use case, I have a VM with 3 interfaces with the WAN set to DHCP. I use the pfsense_interface module to iterate over the other 2 interfaces, vtnet1 and vtnet2, to set their IPs to a static 10.0.1.1 and 10.0.2.1 respectively.

from ansible-pfsense.

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

I got it wrong. It's fixed (for good now).

from ansible-pfsense.

JoshuaLyle avatar JoshuaLyle commented on July 19, 2024

just tested it on a fresh machine and it looks like it's working. Thanks again!

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.