Palo Alto password change

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

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###

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

Hi,

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

Cheers,
Felix