Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot enable nat rule #588

Open
raqs31 opened this issue Oct 31, 2024 · 0 comments
Open

Cannot enable nat rule #588

raqs31 opened this issue Oct 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@raqs31
Copy link

raqs31 commented Oct 31, 2024

Describe the bug

panos_nat_rule2 cannot reenable disabled rule with state merged for version >2.21.0

Expected behavior

Disabled rule should be enabled after play

Current behavior

Ansible report no change and no desired changes affected on device

Possible solution

Working correctly on tested versions:

  • 2.20.0
  • 2.19.x

Steps to reproduce

  1. Disable sample rule and commit changes
  2. Run task for sample rule
      tasks:
        - name: configure nat rule disabled
          paloaltonetworks.panos.panos_nat_rule2:
            provider: "{{ provider }}"
            name: "{{ rule_name }}"
            state: merged
            disabled: false

Your Environment

  • Collection: paloaltonetworks.panos 2.21.2
  • Python: 3.9.18
  • Ansible: ansible [core 2.17.5]
  • PAN-OS Python Library & version pan-os-python 1.8.0, pan-python 0.17.0, xmltodict 0.12.0
@raqs31 raqs31 added the bug Something isn't working label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant