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:
irsl 2017-10-28 10:00:10 +02:00 committed by Brian Coca
parent 87f663b950
commit b456e637e0

View file

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