|
|
@ -86,12 +86,13 @@ options:
|
|
|
|
version_added: "2.0"
|
|
|
|
version_added: "2.0"
|
|
|
|
password:
|
|
|
|
password:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Optionally set the user's password to this encrypted value.
|
|
|
|
- If provided, set the user's password to the provided encrypted hash (Linux) or plain text password (macOS).
|
|
|
|
- On macOS systems, this value has to be cleartext. Beware of security issues.
|
|
|
|
- B(Linux/Unix/POSIX:) Enter the hashed password as the value.
|
|
|
|
|
|
|
|
- See L(FAQ entry,https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-generate-encrypted-passwords-for-the-user-module)
|
|
|
|
|
|
|
|
for details on various ways to generate the hash of a password.
|
|
|
|
- To create an account with a locked/disabled password on Linux systems, set this to C('!') or C('*').
|
|
|
|
- To create an account with a locked/disabled password on Linux systems, set this to C('!') or C('*').
|
|
|
|
- To create an account with a locked/disabled password on OpenBSD, set this to C('*************').
|
|
|
|
- To create an account with a locked/disabled password on OpenBSD, set this to C('*************').
|
|
|
|
- See L(FAQ entry,https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-generate-encrypted-passwords-for-the-user-module)
|
|
|
|
- B(OS X/macOS:) Enter the cleartext password as the value. Be sure to take relevant security precautions.
|
|
|
|
for details on various ways to generate these password values.
|
|
|
|
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
|
state:
|
|
|
|
state:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|