I'm new to Ansible and am trying a specific use case where I am connecting to a PAN-OS firewall device through SSH and running my panos_op commands. Is there a way to bypass HTTPS as our production firewalls are compliant to our customers with not allowing any HTTPS access from any host. When I run my script, I am getting: "msg": "Failed connection: URLError: reason: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:897)".
P.S. --- I have already added the Ansible Server IP Address in Panorama that manages all of our PAN-OS devices to the list of permitted IP addresses which is located under Device --> Interfaces --> Management so every host can manage the firewall.
Any help and input is very appreciated!
All but like two Ansible modules interact with the PAN-OS XML API (https port 443 by default), not the CLI. So the client host running Ansible will need 443 access to the PAN-OS management interface to work.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!