mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix minor syntax error in authorized_key module doc (#4491)
This commit is contained in:
@@ -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
|
||||
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user