Merge pull request #1782 from candeira/fix-playbook2-documentation
fix documentation for authorized_key in advanced playbooks page in docsite
This commit is contained in:
commit
2699ef3c41
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::
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue