Use single-quotes to contain SSH keys as they may contain double-quotes

Fixes #1624.
This commit is contained in:
Daniel Hokka Zakrisson 2012-11-18 18:14:17 +01:00
commit b95bcf1b9d
2 changed files with 2 additions and 2 deletions

View file

@ -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