Increase timeout for known_hosts state and add retry
- There have been cases observed, where some hosts are unresponsive
for some reason, so increasing timeout and adding retry
should solve these kind of issues.
Fixes: PROD-33551
Change-Id: Ia8898df3ea4bcdeb6948cebb9356f2b2acda1233
diff --git a/openssh/client/known_host.sls b/openssh/client/known_host.sls
index edc6746..3a2273f 100644
--- a/openssh/client/known_host.sls
+++ b/openssh/client/known_host.sls
@@ -55,6 +55,10 @@
{%- if grains.get('noservices') %}
- onlyif: /bin/false
{%- endif %}
+ - timeout: 15
+ - retry:
+ attempts: 5
+ interval: 5
- require:
- pkg: openssh_client_packages
- file: {{ user.user.home }}/.ssh