Document: sudo works per-task too
@ -98,6 +98,16 @@ Support for running things from sudo is also available::
user: yourname
sudo: yes
You can also use sudo on a particular task instead of the whole play::
---
- hosts: webservers
tasks:
- service: name=nginx state=started
You can also login as you, and then sudo to different users than root::