1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Document sudo_user

This commit is contained in:
Ludovic Claude 2012-07-16 18:28:32 +02:00
parent 52bcdf5e38
commit 8e0560f41c

View file

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