Skip to content

Commit

Permalink
Update password.py (ansible#71295)
Browse files Browse the repository at this point in the history
List md5_crypt, bcrypt, sha256_crypt, sha512_crypt as hash schemes in the password plugin.

(cherry picked from commit 1d1de2c)
  • Loading branch information
rovshango authored and samccann committed Aug 20, 2020
1 parent 9489bc1 commit e663281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/plugins/lookup/password.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
required: True
encrypt:
description:
- Which hash scheme to encrypt the returning password, should be one hash scheme from C(passlib.hash).
- Which hash scheme to encrypt the returning password, should be one hash scheme from C(passlib.hash; md5_crypt, bcrypt, sha256_crypt, sha512_crypt)
- If not provided, the password will be returned in plain text.
- Note that the password is always stored as plain text, only the returning password is encrypted.
- Encrypt also forces saving the salt value for idempotence.
Expand Down

0 comments on commit e663281

Please sign in to comment.