Skip to content

Commit

Permalink
bug: missing until for retry in gce plugin (#288)
Browse files Browse the repository at this point in the history
fix: missing until for retry in gce plugin
  • Loading branch information
cnfrancis authored Jan 14, 2025
1 parent 35fbde7 commit a372bd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
host: "{{ item.networkInterfaces.0.accessConfigs.0.natIP if molecule_yml.driver.external_access else item.networkInterfaces.0.networkIP }}"
search_regex: SSH
delay: 10
loop: "{{ server.results }}"
register: waitfor
until: waitfor.failed == false
retries: 6
delay: 10
loop: "{{ server.results }}"
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
host: "{{ item.networkInterfaces.0.accessConfigs.0.natIP if molecule_yml.driver.external_access else item.networkInterfaces.0.networkIP }}"
delay: 10
loop: "{{ server.results }}"
register: waitfor
until: waitfor.failed == false
retries: 6
delay: 10

- name: Prepare Windows User
ansible.builtin.script: >
Expand Down

0 comments on commit a372bd3

Please sign in to comment.