From 162f257412f0a5c630c85338689ebcb0c0e01bde Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sat, 25 Jul 2015 14:11:03 +0200 Subject: [PATCH] Use the parameter 'name' everywhere for consistency Fix https://github.com/ansible/ansible/issues/11395 --- system/known_hosts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') }}" '''