Commit 2f71eb03 by Michael DeHaan

Merge pull request #140 from ludovicc/master

Document sudo_user in playbook
parents f131a7da 8e0560f4
......@@ -79,6 +79,7 @@ Support for running things from sudo is also available::
- hosts: webservers
user: yourname
sudo: True
sudo_user: privileged_user
If you need to specify a password to sudo, run `ansible-playbook` with ``--ask-sudo-pass`` (`-K`).
If you run a sudo playbook and the playbook seems to hang, it's probably stuck at the sudo prompt.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment