From 11fb13f5fc332fb69f85ee3359b847fac85e2da5 Mon Sep 17 00:00:00 2001 From: cnfrancis <37379852+cnfrancis@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:16:37 -0400 Subject: [PATCH] feat: add retry for gce plugin when waiting for SSH (#270) --- .../gce/playbooks/tasks/create_linux_instance.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/molecule_plugins/gce/playbooks/tasks/create_linux_instance.yml b/src/molecule_plugins/gce/playbooks/tasks/create_linux_instance.yml index 1564397..bd705a1 100644 --- a/src/molecule_plugins/gce/playbooks/tasks/create_linux_instance.yml +++ b/src/molecule_plugins/gce/playbooks/tasks/create_linux_instance.yml @@ -61,4 +61,6 @@ host: "{{ item.networkInterfaces.0.accessConfigs.0.natIP if molecule_yml.driver.external_access else item.networkInterfaces.0.networkIP }}" search_regex: SSH delay: 10 + retries: 6 + delay: 10 loop: "{{ server.results }}"