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