Skip to Content

PCSFE: Best Connection Method for Ansible with Palo Alto Networks PAN-OS

Ansible interacts with PAN-OS firewalls through its API. Learn why the “local” connection method is the optimal choice for this automation task.

Table of Contents

Question

When using Ansible with PAN-OS, which type of connection method should be used?

A. OpenSSH
B. Local
C. Paramiko
D. Smart

Answer

B. Local

Explanation

Ansible modules for PAN-OS leverage the pandevice library to interact with the firewall via its API. The “local” connection type instructs Ansible to use the pandevice library directly on the Ansible host, enabling communication with the PAN-OS device through its API.

Palo Alto Networks PCSFE certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Palo Alto Networks PCSFE exam and earn Palo Alto Networks PCSFE certification.