Per-task sudo officially supported?

Is it possible to specify “sudo” at the task level instead of the play level, e.g.:

tasks:

  • command: whoami

sudo: true

I couldn’t find anything in the docs or examples about this, but it seems to work.

Lorin

If it seems to work, then it is so :slight_smile: