Using Ansible to update local user passwords (not admin)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using Ansible to update local user passwords (not admin)

L1 Bithead

panos_administrator allows me to update administrative accounts but I need to update passwords on local user accounts.  Is there any way to do this?

1 REPLY 1

L5 Sessionator

Hi @dpflick, the PAN-OS Collection does not have a module for this, but I created an example playbook (use in production at your own risk, usual disclaimer, etc) that uses various other modules to achieve the desired result. It should work for creating new users, as well as updating passwords for existing users. Hope this helps!

Help the community: "Like" helpful comments, and click "Accept as Solution" if you found your answer 🙂
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!