From cf4882e0c07d499df9902e91e26a93834e46135e Mon Sep 17 00:00:00 2001 From: Mossroy Date: Sat, 16 Nov 2019 04:25:13 +0100 Subject: [PATCH] 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 --- lib/ansible/modules/system/known_hosts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/known_hosts.py b/lib/ansible/modules/system/known_hosts.py index e46bf3d9554..3a9f031e951 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