mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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