From 2ff343843517e99dd2203fd5762f8e51a982eabb 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 --- lib/ansible/modules/extras/system/known_hosts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/system/known_hosts.py b/lib/ansible/modules/extras/system/known_hosts.py index 303d9410d1e..7592574d4e7 100644 --- a/lib/ansible/modules/extras/system/known_hosts.py +++ b/lib/ansible/modules/extras/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') }}" '''