From 9921bb9d2002e136c030ff337c14f8b7eab0fc72 Mon Sep 17 00:00:00 2001 From: Abhijit Menon-Sen Date: Mon, 10 Aug 2015 20:19:44 +0530 Subject: [PATCH] Document --ssh-extra-args command-line option --- docs/man/man1/ansible-playbook.1.asciidoc.in | 5 +++++ docs/man/man1/ansible-pull.1.asciidoc.in | 5 +++++ docs/man/man1/ansible.1.asciidoc.in | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/docs/man/man1/ansible-playbook.1.asciidoc.in b/docs/man/man1/ansible-playbook.1.asciidoc.in index 00682567e84..2a1a94c5cdf 100644 --- a/docs/man/man1/ansible-playbook.1.asciidoc.in +++ b/docs/man/man1/ansible-playbook.1.asciidoc.in @@ -151,6 +151,11 @@ run operations with su as this user (default=root) Run operations with sudo (nopasswd) (deprecated, use become) +*--ssh-extra-args=*''-o ProxyCommand="ssh -W %h:%p ..." ...'':: + +Add the specified arguments to any ssh command-line. Useful to set a +ProxyCommand to use a jump host, but any arguments may be specified. + *-U*, 'SUDO_USER', *--sudo-user=*'SUDO_USER':: Desired sudo user (default=root) (deprecated, use become). diff --git a/docs/man/man1/ansible-pull.1.asciidoc.in b/docs/man/man1/ansible-pull.1.asciidoc.in index b78b7e67a2b..520a60bf212 100644 --- a/docs/man/man1/ansible-pull.1.asciidoc.in +++ b/docs/man/man1/ansible-pull.1.asciidoc.in @@ -105,6 +105,11 @@ Purge the checkout after the playbook is run. Sleep for random interval (between 0 and SLEEP number of seconds) before starting. This is a useful way ot disperse git requests. +*--ssh-extra-args=*''-o ProxyCommand="ssh -W %h:%p ..." ...'':: + +Add the specified arguments to any ssh command-line. Useful to set a +ProxyCommand to use a jump host, but any arguments may be specified. + *-t* 'TAGS', *--tags=*'TAGS':: Only run plays and tasks tagged with these values. diff --git a/docs/man/man1/ansible.1.asciidoc.in b/docs/man/man1/ansible.1.asciidoc.in index aaaac33c2af..7578e8f8be1 100644 --- a/docs/man/man1/ansible.1.asciidoc.in +++ b/docs/man/man1/ansible.1.asciidoc.in @@ -143,6 +143,11 @@ Run operations with su as this user (default=root) Run the command as the user given by -u and sudo to root. +*--ssh-extra-args=*''-o ProxyCommand="ssh -W %h:%p ..." ...'':: + +Add the specified arguments to any ssh command-line. Useful to set a +ProxyCommand to use a jump host, but any arguments may be specified. + *-U* 'SUDO_USERNAME', *--sudo-user=*'SUDO_USERNAME':: Sudo to 'SUDO_USERNAME' instead of root. Implies --sudo.