become-user example was incorrect

Example was incorrect:
--become-user doesn't imply --become (http://docs.ansible.com/ansible/latest/become.html)
pull/32326/head
irsl 7 years ago committed by Brian Coca
parent 87f663b950
commit b456e637e0

@ -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 It is also possible to become a user other than root using
``--become-user``:: ``--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:: .. note::

Loading…
Cancel
Save