This website uses cookies essential to its operation, for analytics, and for personalized content. By continuing to browse this site, you acknowledge the use of cookies. For details on cookie usage on our site, read our Privacy Policy
Also the Ansible URI module can be used to script any tasks that palo alto has not created ansible functions but as @JimmyHolland mentioned better use the build in functions when you have them as with the URI module you will need also use the correct HTTP headees, so things like like https://paloaltonetworks.github.io/pan-os-ansible/modules/panos_type_cmd_module.html as this is another option to configure stuff together withhttps://paloaltonetworks.github.io/pan-os-ansible/modules/panos_config_element_module.html that was already shared to you. For operational commands that config ones Palo Alto is more easier to work with Ansible with the module https://paloaltonetworks.github.io/pan-os-ansible/modules/panos_op_module.html .
If you got you answer please "Accept the solution"
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/uri_module.html
... View more