diff --git a/docsite/rst/playbooks2.rst b/docsite/rst/playbooks2.rst index 74917ec443b..95a084fb3dd 100644 --- a/docsite/rst/playbooks2.rst +++ b/docsite/rst/playbooks2.rst @@ -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