summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael DeHaan <michael.dehaan@gmail.com>2012-05-06 18:32:43 -0400
committerMichael DeHaan <michael.dehaan@gmail.com>2012-05-06 18:32:43 -0400
commiteda2333b24404e69b6787cfa42e0e1da5e632b0e (patch)
tree8ddce56ac5983a8286dcb756f99ec9dcaf2cfc45 /docs
parent05545e3735dfe5819f2d8ea7ef1c4e8a0d1089fb (diff)
downloadansible-eda2333b24404e69b6787cfa42e0e1da5e632b0e.tar.gz
Update manpage to mention -U (--sudo-user).
Diffstat (limited to 'docs')
-rw-r--r--docs/man/man1/ansible.113
-rw-r--r--docs/man/man1/ansible.1.asciidoc.in4
2 files changed, 14 insertions, 3 deletions
diff --git a/docs/man/man1/ansible.1 b/docs/man/man1/ansible.1
index 27913bba71..86fbf3c7c7 100644
--- a/docs/man/man1/ansible.1
+++ b/docs/man/man1/ansible.1
@@ -2,12 +2,12 @@
.\" Title: ansible
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 04/26/2012
+.\" Date: 05/06/2012
.\" Manual: System administration commands
.\" Source: Ansible 0.4
.\" Language: English
.\"
-.TH "ANSIBLE" "1" "04/26/2012" "Ansible 0\&.4" "System administration commands"
+.TH "ANSIBLE" "1" "05/06/2012" "Ansible 0\&.4" "System administration commands"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
@@ -72,7 +72,7 @@ to pass to the module\&.
.PP
\fB\-D\fR, \fB\-\-debug\fR
.RS 4
-Print any messages the remote module sends to standard error to the console
+Debug mode
.RE
.PP
\fB\-k\fR, \fB\-\-ask\-pass\fR
@@ -129,6 +129,13 @@ Use this remote
instead of root\&.
.RE
.PP
+\fB\-U\fR \fISUDO_USERNAME\fR, \fB\-\-sudo\-user=\fR\fISUDO_USERNAME\fR
+.RS 4
+Sudo to
+\fISUDO_USERNAME\fR
+instead of root\&. Implies \-\-sudo\&.
+.RE
+.PP
\fB\-c\fR \fICONNECTION\fR, \fB\-\-connection=\fR\fICONNECTION\fR
.RS 4
Connection type to use\&. Possible options are
diff --git a/docs/man/man1/ansible.1.asciidoc.in b/docs/man/man1/ansible.1.asciidoc.in
index 9c8ee4c847..f01dc549e5 100644
--- a/docs/man/man1/ansible.1.asciidoc.in
+++ b/docs/man/man1/ansible.1.asciidoc.in
@@ -101,6 +101,10 @@ Poll a background job every 'NUM' seconds. Requires *-B*.
Use this remote 'USERNAME' instead of root.
+*-U* 'SUDO_USERNAME', *--sudo-user=*'SUDO_USERNAME'::
+
+Sudo to 'SUDO_USERNAME' instead of root. Implies --sudo.
+
*-c* 'CONNECTION', *--connection=*'CONNECTION'::
Connection type to use. Possible options are 'paramiko' (SSH) and 'local'.