From 18f40029699bf5ce007f44ae8bf590b99cc597f4 Mon Sep 17 00:00:00 2001 From: Pablo Rodriguez Nava Date: Wed, 18 Dec 2024 11:20:07 +0100 Subject: [PATCH] Increase the SSHd reasy timeout In some environments it looks like SSHd is taking a bit longer to be ready and it rejects SSH attempts leading to a failure in the CI run. --- roles/libvirt_manager/tasks/manage_vms.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/libvirt_manager/tasks/manage_vms.yml b/roles/libvirt_manager/tasks/manage_vms.yml index 98a3f354f2..6564e69f14 100644 --- a/roles/libvirt_manager/tasks/manage_vms.yml +++ b/roles/libvirt_manager/tasks/manage_vms.yml @@ -64,7 +64,7 @@ cat ~/.ssh/authorized_keys | ssh -v core@{{ vm_con_name }} "cat >> ~/.ssh/authorized_keys" retries: 5 - delay: 10 + delay: 60 register: _ssh_access until: _ssh_access.rc == 0