Describe the bug
Hi,
Looks like 641489d introduces a bug on panos commit (possibly on partial changes )
When triggered via ansible
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Task failed: Module failed: cannot access local variable 'fe' where it is not associated with a value"}
Expected behavior
Working commit via ansible module
Current behavior
fe variable used before definition on in panos/firewall.py, l.624
Possible solution
Rework this change
Steps to reproduce
Screenshots
Context
Your Environment
- Version used: pan-os-python==1.12.5
- Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3): ansible==13.6.0 + ansible-core==2.20.5 / Python 3.12.12
- Operating System and version (desktop or mobile):
- Link to your project:
Describe the bug
Hi,
Looks like 641489d introduces a bug on panos commit (possibly on partial changes )
When triggered via ansible
Expected behavior
Working commit via ansible module
Current behavior
fe variable used before definition on in panos/firewall.py, l.624
Possible solution
Rework this change
Steps to reproduce
Screenshots
Context
Your Environment