mirror of https://github.com/ceph/ceph-ansible.git
ansible: set ssh retry option to 5
We noticed that sometime, ceph-ansible can fail with error : `Failed to connect to the host via ssh:` It can occurs after the task `restart firewalld` has been played. Setting `retries` to 5 should prevent from unexcepted ssh failure. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/2347/head
parent
9306a1789c
commit
5bf5642556
|
@ -19,3 +19,6 @@ timeout = 30
|
|||
[ssh_connection]
|
||||
# see: https://github.com/ansible/ansible/issues/11536
|
||||
control_path = %(directory)s/%%h-%%r-%%p
|
||||
|
||||
# Option to retry failed ssh executions if the failure is encountered in ssh itself
|
||||
retries = 5
|
||||
|
|
Loading…
Reference in New Issue