pa_execute_op_command
Description
Run one or more operational (show/run) commands on the active Palo Alto firewall and capture JSON output. The playbook delegates command construction to pa_execute_op_command_tasks.yml and parses the command results into resultjson.
Credentials
- panos_username / panos_password
Input
| Variable | Description |
|---|---|
_pacommand |
Command or comma-separated commands to execute on the device (operational CLI syntax) |
provider or panos_username/panos_password |
Connection credentials built by get_active_paloalto.yml |
| Other command-specific variables | May be required depending on included tasks (e.g., _start, _end, filters, or lists) |
Output
resultjson: Parsed JSON result of the executed operational command(s) (from standard output) available for downstream processing.