f5os_user_password_change – Change passwords for F5OS user accounts

New in version 1.17.0.

Synopsis

  • Supports updating passwords for default users (admin, root) as well as other accounts.
  • Allow an administrator to change passwords for F5OS user accounts by submitting RESTCONF API requests

Parameters

Parameter Choices/Defaults Configuration Comments
new_password
string / required
New password for the specified user account.
old_password
string / required
Current password for the specified user account.
user_name
string / required
Name of the F5OS user account.

Notes

Note

  • This module is not idempotent.
  • This Module Manages only local authenticated user accounts.
  • when httpapi user is admin and module user is non-admin, it will only set the password.

Examples

- name: Change password for admin
  f5os_user_password_change:
    user_name: admin
    old_password: default_pass
    new_password: new_admin_pass

- name: Change password for standard user
  f5os_user_password_change:
    user_name: user1
    old_password: default_pass
    new_password: mySecurePass@123

- name: Change password for root
  f5os_user_password_change:
    user_name: root
    old_password: root_default
    new_password: root_secure_password

Status

Authors

  • Ravinder Reddy (@chinthalapalli)