From 1e411f95511e8eb1849bfb962948dd21c8365f79 Mon Sep 17 00:00:00 2001 From: Ali Ok Date: Sat, 27 Aug 2016 17:52:03 +0300 Subject: [PATCH] Fix minor syntax error in authorized_key module doc (#4491) --- 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 c92b2160a4a..4b0420708d1 100644 --- a/lib/ansible/modules/system/authorized_key.py +++ b/lib/ansible/modules/system/authorized_key.py @@ -126,7 +126,7 @@ EXAMPLES = ''' - public_keys/doe-jane # Copies the key from the user who is running ansible to the remote machine user ubuntu -- authorized_key: user=ubuntu key="{{ lookup('file', lookup('env','HOME') + "/.ssh/id_rsa.pub") }}" +- authorized_key: user=ubuntu key="{{ lookup('file', lookup('env','HOME') + '/.ssh/id_rsa.pub') }}" become: yes '''