mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
fix documentation for authorized_key in advanced playbooks page in docsite
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user