mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-21 19:43:59 -07:00
Use single-quotes to contain SSH keys as they may contain double-quotes
Fixes #1624.
This commit is contained in:
parent
11175781b8
commit
b95bcf1b9d
2 changed files with 2 additions and 2 deletions
|
@ -402,7 +402,7 @@ 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/$user1')"
|
||||
- authorized_key name=$item key='$FILE(/keys/$item)'
|
||||
with_items:
|
||||
- pinky
|
||||
- brain
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue