diff --git a/system/known_hosts.py b/system/known_hosts.py index 303d9410d1e..7592574d4e7 100644 --- a/system/known_hosts.py +++ b/system/known_hosts.py @@ -58,7 +58,7 @@ EXAMPLES = ''' # Example using with_file to set the system known_hosts file - name: tell the host about our servers it might want to ssh to known_hosts: path='/etc/ssh/ssh_known_hosts' - host='foo.com.invalid' + name='foo.com.invalid' key="{{ lookup('file', 'pubkeys/foo.com.invalid') }}" '''