GithubHelp home page GithubHelp logo

Comments (4)

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

Hi,

It should be fixed by the last commits.

from ansible-pfsense.

jilgue avatar jilgue commented on July 20, 2024

It works !

Thanks :)

from ansible-pfsense.

jilgue avatar jilgue commented on July 20, 2024

Hi,

Sorry, but the error still appears.
This time when you remove a firewall rule:

    - name: "Add Internal DNS out rule"
      pfsense_rule:
        name: 'Allow Internal DNS traffic out'
        action: pass
        interface: lan
        ipprotocol: inet
        protocol: udp
        source: adservers
        destination: any:53
        state: present
The full traceback is:
Traceback (most recent call last):
  File "<stdin>", line 113, in <module>
  File "<stdin>", line 105, in _ansiballz_main
  File "<stdin>", line 48, in invoke_module
  File "/tmp/ansible_pfsense_rule_payload_D003BW/__main__.py", line 122, in <module>
  File "/tmp/ansible_pfsense_rule_payload_D003BW/__main__.py", line 117, in main
  File "/tmp/ansible_pfsense_rule_payload_D003BW/ansible_pfsense_rule_payload.zip/ansible/module_utils/networking/pfsense/pfsense_rule.py", line 607, in run
  File "/tmp/ansible_pfsense_rule_payload_D003BW/ansible_pfsense_rule_payload.zip/ansible/module_utils/networking/pfsense/pfsense_rule.py", line 535, in _remove
  File "/tmp/ansible_pfsense_rule_payload_D003BW/ansible_pfsense_rule_payload.zip/ansible/module_utils/networking/pfsense/pfsense_rule.py", line 283, in _log_delete
  File "/tmp/ansible_pfsense_rule_payload_D003BW/ansible_pfsense_rule_payload.zip/ansible/module_utils/networking/pfsense/pfsense.py", line 82, in get_interface_display_name
AttributeError: 'NoneType' object has no attribute 'text'

from ansible-pfsense.

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

sorry, I have been lazy on the first fix. It is fixed in all cases now.

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.