* adds host_key_auto_add to paramiko section
* adds look_for_keys to paramiko section
* adds terminal_plugins to defaults section
* adds persistent_connection section and key/value enteries
(cherry picked from commit ccfa464464
)
This commit is contained in:
parent
0c0d949c47
commit
48f6af4907
1 changed files with 34 additions and 0 deletions
|
@ -181,6 +181,7 @@
|
|||
#vars_plugins = /usr/share/ansible/plugins/vars
|
||||
#filter_plugins = /usr/share/ansible/plugins/filter
|
||||
#test_plugins = /usr/share/ansible/plugins/test
|
||||
#terminal_plugins = /usr/share/ansible/plugins/terminal
|
||||
#strategy_plugins = /usr/share/ansible/plugins/strategy
|
||||
|
||||
|
||||
|
@ -305,6 +306,19 @@
|
|||
# line to disable this behaviour.
|
||||
#pty=False
|
||||
|
||||
# paramiko will default to looking for SSH keys initially when trying to
|
||||
# authenticate to remote devices. This is a problem for some network devices
|
||||
# that close the connection after a key failure. Uncomment this line to
|
||||
# disable the Paramiko look for keys function
|
||||
#look_for_keys = False
|
||||
|
||||
# When using persistent connections with Paramiko, the connection runs in a
|
||||
# background process. If the host doesn't already have a valid SSH key, by
|
||||
# default Ansible will prompt to add the host key. This will cause connections
|
||||
# running in background processes to fail. Uncomment this line to have
|
||||
# Paramiko automatically add host keys.
|
||||
#host_key_auto_add = True
|
||||
|
||||
[ssh_connection]
|
||||
|
||||
# ssh arguments to use
|
||||
|
@ -357,6 +371,26 @@
|
|||
# only be disabled if your sftp version has problems with batch mode
|
||||
#sftp_batch_mode = False
|
||||
|
||||
[persistent_connection]
|
||||
|
||||
# Configures the persistent connection timeout value in seconds. This value is
|
||||
# how long the persistent connection will remain idle before it is destroyed.
|
||||
# If the connection doesn't receive a request before the timeout value
|
||||
# expires, the connection is shutdown. The default value is 30 seconds.
|
||||
connect_timeout = 30
|
||||
|
||||
# Configures the persistent connection retries. This value configures the
|
||||
# number of attempts the ansible-connection will make when trying to connect
|
||||
# to the local domain socket. The default value is 30.
|
||||
connect_retries = 30
|
||||
|
||||
# Configures the amount of time in seconds to wait between connection attempts
|
||||
# to the local unix domain socket. This value works in conjunction with the
|
||||
# connect_retries value to define how long to try to connect to the local
|
||||
# domain socket when setting up a persistent connection. The default value is
|
||||
# 1 second.
|
||||
connect_interval = 1
|
||||
|
||||
[accelerate]
|
||||
#accelerate_port = 5099
|
||||
#accelerate_timeout = 30
|
||||
|
|
Loading…
Reference in a new issue