Merge pull request #1989 from mgedmin/patch-1

authorized_key: fix example in documentation
This commit is contained in:
Brian Coca 2015-08-31 20:30:50 -04:00
commit 0bff493fae

View file

@ -112,8 +112,10 @@ EXAMPLES = '''
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
- authorized_key: user=root key="{{ item }}" state=present
exclusive=yes
with_file:
- public_keys/doe-jane
'''
# Makes sure the public key line is present or absent in the user's .ssh/authorized_keys.