summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Ok <aliok@apache.org>2016-08-27 17:52:03 +0300
committerMichael Scherer <mscherer@users.noreply.github.com>2016-08-27 16:52:03 +0200
commitab55355b00696953e6d7ea6f4915541b82f206e7 (patch)
tree7f53e4c4a5ab0a32f0a124f582ddb0c9839fff28
parent9da4c426798657a3c266dcd778c3e3c327f7fbdb (diff)
downloadansible-modules-core-ab55355b00696953e6d7ea6f4915541b82f206e7.tar.gz
Fix minor syntax error in authorized_key module doc (#4491)
-rw-r--r--system/authorized_key.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/authorized_key.py b/system/authorized_key.py
index c92b2160..4b042070 100644
--- a/system/authorized_key.py
+++ b/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
'''