summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2015-09-05 08:24:41 -0700
committerToshio Kuratomi <toshio@fedoraproject.org>2015-09-05 08:24:41 -0700
commit1106ec080463c85090bbb4d12d7159deb4f79840 (patch)
tree606a9deb7b62070a3580f60be2da9ed61149e3c6
parent7dbc0b17d7d742e954d4c3ba0975b9896e31bd2f (diff)
downloadansible-modules-core-1106ec080463c85090bbb4d12d7159deb4f79840.tar.gz
Expand key file in example for stable branch
Fixes #12242
-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 458b94df..040c29ce 100644
--- a/system/authorized_key.py
+++ b/system/authorized_key.py
@@ -111,7 +111,7 @@ EXAMPLES = '''
key_options='no-port-forwarding,host="10.0.1.1"'
# Set up authorized_keys exclusively with one key
-- authorized_key: user=root key=public_keys/doe-jane state=present
+- authorized_key: user=root key="{{ lookup('file', 'public_keys/doe-jane') }}" state=present
exclusive=yes
'''