mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 16:53:11 +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::
|
||||
|
||||
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:
|
||||
- pinky
|
||||
- brain
|
||||
|
||||
Reference in New Issue
Block a user