purestorage / purestorage.flashblade / 1.17.0 / module / purefb_user Modify FlashBlade user accounts | "added in version" 1.0.0 of purestorage.flashblade" Authors: Pure Storage Ansible Team (@sdodsley) <pure-ansible-team@purestorage.com> preview | supported by communitypurestorage.flashblade.purefb_user (1.17.0) — module
Install with ansible-galaxy collection install purestorage.flashblade:==1.17.0
collections: - name: purestorage.flashblade version: 1.17.0
Modify user on a Pure Stoage FlashBlade.
- name: Change password for local user (NOT IDEMPOTENT) purestorage.flashblade.purefb_user: name: pureuser password: anewpassword old_password: apassword fb_url: 10.10.10.2 api_token: T-9f276a18-50ab-446e-8a0c-666a3529a1b6
- name: Set public key for user purestorage.flashblade.purefb_user: name: fred public_key: "{{lookup('file', 'public_pem_file') }}" fb_url: 10.10.10.2 api_token: T-9f276a18-50ab-446e-8a0c-666a3529a1b6
- name: Clear user lockout purestorage.flashblade.purefb_user: name: fred clear_lock: true fb_url: 10.10.10.2 api_token: T-9f276a18-50ab-446e-8a0c-666a3529a1b6
name: description: - The name of the user account type: str fb_url: description: - FlashBlade management IP address or Hostname. type: str password: description: - Password for the local user. - Only applies to the local user 'pureuser' type: str api_token: description: - FlashBlade API token for admin privileged user. type: str clear_lock: default: false description: - Clear user lockout flag type: bool version_added: 1.8.0 version_added_collection: purestorage.flashblade public_key: description: - The API clients PEM formatted (Base64 encoded) RSA public key. - "Include the I(\u2014\u2013BEGIN PUBLIC KEY\u2014\u2013) and I(\u2014\u2013END PUBLIC\ \ KEY\u2014\u2013) lines" type: str version_added: 1.8.0 version_added_collection: purestorage.flashblade old_password: description: - If changing an existing password, you must provide the old password for security - Only applies to the local user 'pureuser' type: str