become-user example was incorrect
Example was incorrect: --become-user doesn't imply --become (http://docs.ansible.com/ansible/latest/become.html)
This commit is contained in:
parent
87f663b950
commit
b456e637e0
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ Use of a passwordless setup makes things easier to automate, but it's not requir
|
|||
It is also possible to become a user other than root using
|
||||
``--become-user``::
|
||||
|
||||
$ ansible atlanta -a "/usr/bin/foo" -u username --become-user otheruser [--ask-become-pass]
|
||||
$ ansible atlanta -a "/usr/bin/foo" -u username --become --become-user otheruser [--ask-become-pass]
|
||||
|
||||
.. note::
|
||||
|
||||
|
|
Loading…
Reference in a new issue