mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #5741/06d72dfe backport][stable-6] htpasswd: improve documentation on crypt_scheme (#5749)
htpasswd: improve documentation on crypt_scheme (#5741)
* htpasswd: improve documentation on crypt_scheme
* htpasswd: formatting in documentation
Co-authored-by: Felix Fontein <felix@fontein.de>
* htpasswd: formatting in documentation
Co-authored-by: Felix Fontein <felix@fontein.de>
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 06d72dfed9
)
Co-authored-by: bluikko <14869000+bluikko@users.noreply.github.com>
This commit is contained in:
parent
ac35bf4acb
commit
c10e9e2650
1 changed files with 6 additions and 3 deletions
|
@ -41,9 +41,12 @@ options:
|
||||||
description:
|
description:
|
||||||
- Encryption scheme to be used. As well as the four choices listed
|
- Encryption scheme to be used. As well as the four choices listed
|
||||||
here, you can also use any other hash supported by passlib, such as
|
here, you can also use any other hash supported by passlib, such as
|
||||||
md5_crypt and sha256_crypt, which are linux passwd hashes. If you
|
C(portable_apache22) and C(host_apache24); or C(md5_crypt) and C(sha256_crypt),
|
||||||
do so the password file will not be compatible with Apache or Nginx
|
which are Linux passwd hashes. Only some schemes in addition to
|
||||||
- 'Some of the available choices might be: C(apr_md5_crypt), C(des_crypt), C(ldap_sha1), C(plaintext)'
|
the four choices below will be compatible with Apache or Nginx, and
|
||||||
|
supported schemes depend on passlib version and its dependencies.
|
||||||
|
- See U(https://passlib.readthedocs.io/en/stable/lib/passlib.apache.html#passlib.apache.HtpasswdFile) parameter C(default_scheme).
|
||||||
|
- 'Some of the available choices might be: C(apr_md5_crypt), C(des_crypt), C(ldap_sha1), C(plaintext).'
|
||||||
state:
|
state:
|
||||||
type: str
|
type: str
|
||||||
required: false
|
required: false
|
||||||
|
|
Loading…
Reference in a new issue