diff options
author | Michael DeHaan <michael.dehaan@gmail.com> | 2012-08-14 20:13:02 -0400 |
---|---|---|
committer | Michael DeHaan <michael.dehaan@gmail.com> | 2012-08-14 20:13:02 -0400 |
commit | 9851066f4de0ca48bbe3927ef333778f9df1db98 (patch) | |
tree | c4018a60ba22656ac92f40097a036f40c4091e8e /examples/ansible.cfg | |
parent | 6de8c270854ca0a846053e00ff18ad0bbe1d2a26 (diff) | |
download | ansible-9851066f4de0ca48bbe3927ef333778f9df1db98.tar.gz |
Adding ability to set ssh args from config file
Diffstat (limited to 'examples/ansible.cfg')
-rw-r--r-- | examples/ansible.cfg | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg index a07f7149c1..c309fc41c9 100644 --- a/examples/ansible.cfg +++ b/examples/ansible.cfg @@ -66,3 +66,16 @@ remote_port=22 #private_key_file=/path/to/file +[paramiko_connection] + +# nothing to configure yet + +[ssh_connection] + +# if uncommented, sets the ansible ssh arguments to the following. Leaving off ControlPersist +# will result in poor performance, so use transport=paramiko on older platforms rather than +# removing it + +ssh_args=-o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r + + |