diff options
author | Mossroy <mossroy@mossroy.fr> | 2019-11-16 04:25:13 +0100 |
---|---|---|
committer | Abhijeet Kasurde <akasurde@redhat.com> | 2019-11-16 08:55:13 +0530 |
commit | cf4882e0c07d499df9902e91e26a93834e46135e (patch) | |
tree | f1d805c6fe84f79e782d38af4f977061a8104e60 | |
parent | 8301ad47c3fdb13f10ef6a184f3a80f0f985a46d (diff) | |
download | ansible-cf4882e0c07d499df9902e91e26a93834e46135e.tar.gz |
Fix argument name in example of documentation (#64891)
##### SUMMARY
The second example of the documentation uses an argument "hostname" that does not exist in this module.
It should be replaced by argument "name"
##### ISSUE TYPE
- Docs Pull Request
+label: docsite_pr
-rw-r--r-- | lib/ansible/modules/system/known_hosts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/system/known_hosts.py b/lib/ansible/modules/system/known_hosts.py index e46bf3d955..3a9f031e95 100644 --- a/lib/ansible/modules/system/known_hosts.py +++ b/lib/ansible/modules/system/known_hosts.py @@ -67,7 +67,7 @@ EXAMPLES = ''' - name: Another way to call known_hosts known_hosts: - hostname: host1.example.com # or 10.9.8.77 + name: host1.example.com # or 10.9.8.77 key: host1.example.com,10.9.8.77 ssh-rsa ASDeararAIUHI324324 # some key gibberish path: /etc/ssh/ssh_known_hosts state: present |