Fix minor syntax error in authorized_key module doc (#4491)
This commit is contained in:
parent
ccddeb8cdc
commit
1e411f9551
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue