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