From eda2333b24404e69b6787cfa42e0e1da5e632b0e Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sun, 6 May 2012 18:32:43 -0400 Subject: [PATCH] Update manpage to mention -U (--sudo-user). --- docs/man/man1/ansible.1 | 13 ++++++++++--- docs/man/man1/ansible.1.asciidoc.in | 4 ++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/docs/man/man1/ansible.1 b/docs/man/man1/ansible.1 index 27913bba712..86fbf3c7c7e 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 -.\" 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 9c8ee4c847b..f01dc549e5e 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'.