# Palo Alto password change

**URL:** <https://forum.ansible.com/t/palo-alto-password-change/32811>\
**Category:** Ansible Project\
**Created:** [April 29, 2020, 11:15am UTC](https://forum.ansible.com/t/palo-alto-password-change/32811 "2020-04-29T11:15:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zaldy\_B](https://avatars.discourse-cdn.com/v4/letter/z/ec9cab/32.png) [@Zaldy\_B](https://forum.ansible.com/u/Zaldy_B)\
**Post date:** [April 29, 2020, 11:15am UTC](https://forum.ansible.com/t/palo-alto-password-change/32811/1 "2020-04-29T11:15:16Z")

</div>

Hi experts,

Have you tried changing palo alto password? I saw a module but its giving me an error:

[https://docs.ansible.com/ansible/latest/modules/panos\_admpwd\_module.html#parameter-key\_filename](https://docs.ansible.com/ansible/latest/modules/panos_admpwd_module.html#parameter-key_filename)

ansible-playbook panos\_pw\_test.yml -u ansible -k  
SSH password:  
[DEPRECATION WARNING]: panos\_admpwd is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale… This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation\_warnings=False in ansible.cfg.

PLAY [PanOS PW Change] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

TASK [set admin password] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
FAILED - RETRYING: set admin password (10 retries left).  
FAILED - RETRYING: set admin password (9 retries left).  
FAILED - RETRYING: set admin password (8 retries left).  
FAILED - RETRYING: set admin password (7 retries left).  
FAILED - RETRYING: set admin password (6 retries left).  
FAILED - RETRYING: set admin password (5 retries left).  
FAILED - RETRYING: set admin password (4 retries left).  
FAILED - RETRYING: set admin password (3 retries left).  
FAILED - RETRYING: set admin password (2 retries left).  
FAILED - RETRYING: set admin password (1 retries left).  
fatal: [PA\_Lab]: FAILED! =\> {“attempts”: 10, “changed”: false, “msg”: “Unsupported parameters for (panos\_admpwd) module: password Supported parameters include: ip\_address, key\_filename, newpassword, username”}

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
PA\_Lab : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

####MY Playbook###

---

<div class="post-metadata">

**Author:** ![Zaldy\_B](https://avatars.discourse-cdn.com/v4/letter/z/ec9cab/32.png) [@Zaldy\_B](https://forum.ansible.com/u/Zaldy_B)\
**Post date:** [April 29, 2020, 11:26am UTC](https://forum.ansible.com/t/palo-alto-password-change/32811/2 "2020-04-29T11:26:19Z")

</div>

I also saw this module, but still I am getting issue: [https://docs.ansible.com/ansible/latest/modules/panos\_admin\_module.html#panos-admin-module](https://docs.ansible.com/ansible/latest/modules/panos_admin_module.html#panos-admin-module)

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [April 29, 2020, 11:45am UTC](https://forum.ansible.com/t/palo-alto-password-change/32811/3 "2020-04-29T11:45:32Z")

</div>

Hi,

please read the error message. You are providing an option to this  
module ("password") which it does not support.

Cheers,  
Felix
