From ec8a94f748a57330b52af182a09c776cd686a307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=9A=D0=BE=D1=81=D1=82=D1=8B=D1=80=D0=B5=D0=B2?= Date: Mon, 17 Aug 2015 18:00:04 +0300 Subject: [PATCH] Fix documentation of authorized_key.py man for sshd http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/sshd.8?query=sshd says there's no "host" option but "from". --- lib/ansible/modules/system/authorized_key.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/authorized_key.py b/lib/ansible/modules/system/authorized_key.py index 5c12cfdde92..f9f773d8d90 100644 --- a/lib/ansible/modules/system/authorized_key.py +++ b/lib/ansible/modules/system/authorized_key.py @@ -109,7 +109,7 @@ EXAMPLES = ''' # Using key_options: - authorized_key: user=charlie key="{{ lookup('file', '/home/charlie/.ssh/id_rsa.pub') }}" - key_options='no-port-forwarding,host="10.0.1.1"' + key_options='no-port-forwarding,from="10.0.1.1"' # Set up authorized_keys exclusively with one key - authorized_key: user=root key=public_keys/doe-jane state=present