1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add ssh_connection retries to ansible.cfg example (#38393)

I add the `retries` option under [ssh_connection] as it was missing, and
some brief comments on the backoff logic.
This commit is contained in:
Matt Ralph 2018-05-25 04:22:26 +01:00 committed by ansibot
parent b43a1a9f9f
commit c47c16782f

View file

@ -406,6 +406,11 @@
# requires a tty by default. # requires a tty by default.
#use_tty = True #use_tty = True
# Number of times to retry an SSH connection to a host, in case of UNREACHABLE.
# For each retry attempt, there is an exponential backoff,
# so after the first attempt there is 1s wait, then 2s, 4s etc. up to 30s (max).
#retries = 3
[persistent_connection] [persistent_connection]
# Configures the persistent connection timeout value in seconds. This value is # Configures the persistent connection timeout value in seconds. This value is