From b456e637e05b9e2fcc59505883042d3dbab7ebbb Mon Sep 17 00:00:00 2001 From: irsl Date: Sat, 28 Oct 2017 10:00:10 +0200 Subject: [PATCH] become-user example was incorrect Example was incorrect: --become-user doesn't imply --become (http://docs.ansible.com/ansible/latest/become.html) --- docs/docsite/rst/intro_adhoc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/intro_adhoc.rst b/docs/docsite/rst/intro_adhoc.rst index 1b500623a43..b8a9619a0f6 100644 --- a/docs/docsite/rst/intro_adhoc.rst +++ b/docs/docsite/rst/intro_adhoc.rst @@ -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::