hpe.nimble.hpe_nimble_user_policy – Manage the HPE Nimble Storage user policies
Note
This plugin is part of the hpe.nimble collection (version 1.1.4).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install hpe.nimble
.
To use it in a playbook, specify: hpe.nimble.hpe_nimble_user_policy
.
New in version 1.0.0: of hpe.nimble
Requirements
The below requirements are needed on the host that executes this module.
Ansible 2.9 or later
Python 3.6 or later
HPE Nimble Storage SDK for Python
HPE Nimble Storage arrays running NimbleOS 5.0 or later
Parameters
Parameter |
Comments |
---|---|
Number of authentication attempts allowed before the user account is locked. Allowed range is [1, 10] inclusive. ‘0’ indicates no limit. |
|
Number of numerical characters required in user passwords. Allowed range is [0, 255] inclusive. |
|
HPE Nimble Storage IP address. |
|
Number of lowercase characters required in user passwords. Allowed range is [0, 255] inclusive. |
|
Maximum number of sessions allowed for a group. Allowed range is [10, 1000] inclusive. |
|
Minimum length for user passwords. Allowed range is [8, 255] inclusive. |
|
Number of times that a password must change before you can reuse a previous password. Allowed range is [1,20] inclusive. |
|
HPE Nimble Storage password. |
|
Number of characters that must be different from the previous password. Allowed range is [1, 255] inclusive. |
|
Number of special characters required in user passwords. Allowed range is [0, 255] inclusive. |
|
The user policy operation. Choices:
|
|
Number of uppercase characters required in user passwords. Allowed range is [0, 255] inclusive. |
|
HPE Nimble Storage user name. |
Examples
- name: Update user policy
hpe.nimble.hpe_nimble_user_policy:
host: "{{ host }}"
username: "{{ username }}"
password: "{{ password }}"
upper: "{{ upper }}"
allowed_attempts: 2
min_length: 10
state: "present"
Authors
HPE Nimble Storage Ansible Team (@ar-india) <nimble-dcs-storage-automation-eng@hpe.com>