mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
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:
@@ -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::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user