summaryrefslogtreecommitdiff
path: root/lib/ansible
diff options
context:
space:
mode:
authorMartin Krizek <martin.krizek@gmail.com>2021-09-02 21:43:19 +0200
committerGitHub <noreply@github.com>2021-09-02 12:43:19 -0700
commite60ee8234312dc181513fb6dd272bc0f81293a91 (patch)
treec287ee2d88cc7eafbaf575e765fe51799432f608 /lib/ansible
parentccf8a7da8283e72ae8ad565d80c5a100477ea8d2 (diff)
downloadansible-e60ee8234312dc181513fb6dd272bc0f81293a91.tar.gz
docs: clarify that known_hosts path must exist (#75615)
* docs: clarify that known_hosts path must exist Fixes #75606 * Clarify clarification.
Diffstat (limited to 'lib/ansible')
-rw-r--r--lib/ansible/modules/known_hosts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ansible/modules/known_hosts.py b/lib/ansible/modules/known_hosts.py
index ea2b1a4159..cb7ee2f881 100644
--- a/lib/ansible/modules/known_hosts.py
+++ b/lib/ansible/modules/known_hosts.py
@@ -40,6 +40,7 @@ options:
path:
description:
- The known_hosts file to edit.
+ - The known_hosts file will be created if needed. The rest of the path must exist prior to running the module.
default: "~/.ssh/known_hosts"
type: path
hash_host: