mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix documentation for authorized_key in advanced playbooks page in docsite
This commit is contained in:
parent
89dab0b12c
commit
dac83c15a0
1 changed files with 2 additions and 1 deletions
|
@ -443,7 +443,8 @@ This syntax will remain in future versions, though we will also will provide way
|
||||||
is an example using the authorized_key module, which requires the actual text of the SSH key as a parameter::
|
is an example using the authorized_key module, which requires the actual text of the SSH key as a parameter::
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- authorized_key: name=$item key='$FILE(/keys/$item)'
|
- name: enable key-based ssh access for users
|
||||||
|
authorized_key: user=$item key='$FILE(/keys/$item)'
|
||||||
with_items:
|
with_items:
|
||||||
- pinky
|
- pinky
|
||||||
- brain
|
- brain
|
||||||
|
|
Loading…
Reference in a new issue