hpe.nimble.hpe_nimble_user_policy module – Manage the HPE Nimble Storage user policies
Note
This module 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
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: hpe.nimble.hpe_nimble_user_policy
.
New in hpe.nimble 1.0.0
Synopsis
Manage the user policies on an HPE Nimble Storage group.
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. |
Notes
Note
This module does not support
check_mode
.
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"