[PR #6840/b6883492 backport][stable-7] htpasswd: minor updates in the docs (#6844)

htpasswd: minor updates in the docs (#6840)

* htpasswd: minor updates in the docs

* remove double spaces

(cherry picked from commit b6883492c7)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
pull/6846/head
patchback[bot] 2023-07-03 21:42:06 +02:00 committed by GitHub
parent 98cea930f0
commit 5d5befdf96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -26,13 +26,13 @@ options:
required: true
aliases: [ dest, destfile ]
description:
- Path to the file that contains the usernames and passwords
- Path to the file that contains the usernames and passwords.
name:
type: str
required: true
aliases: [ username ]
description:
- User name to add or remove
- User name to add or remove.
password:
type: str
required: false
@ -58,15 +58,15 @@ options:
choices: [ present, absent ]
default: "present"
description:
- Whether the user entry should be present or not
- Whether the user entry should be present or not.
create:
required: false
type: bool
default: true
description:
- Used with O(state=present). If specified, the file will be created
if it does not already exist. If set to V(false), will fail if the
file does not exist
- Used with O(state=present). If V(true), the file will be created
if it does not exist. Conversely, if set to V(false) and the file
does not exist it will fail.
notes:
- "This module depends on the C(passlib) Python library, which needs to be installed on all target systems."
- "On Debian, Ubuntu, or Fedora: install C(python-passlib)."