Palo Alto with Ansible

Reply
L0 Member

Palo Alto with Ansible

Hi, I am trying to configure palo alto with ansible. the normal ping and ssh connection is fine but the "ansible -m ping all" command is returning error that the "ssh authentication failed". How is that possible, if the normal ssh is working fine. Please tell the steps to configure ansible with palo alto or any supporting docs. Thanks
Tags (1)
L3 Networker

Re: Palo Alto with Ansible

@suny211 please go to this link to find the doc http://panwansible.readthedocs.io/en/latest/

Tags (1)
L0 Member

Re: Palo Alto with Ansible

 

Password less login into my PAN firewall from the centos workstation works ok.

pwdless-login.JPG

 

But when I use ansible adhoc command like "ansible all -m ping"  or even execute a play-book, the process hangs.

I have to break with Ctrl+C

Ansible , paramiko etc is up to date.

panos module is also available to use.

ansible-playbook.JPG

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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 Live Community as a whole!

The Live Community thanks you for your participation!