Skip to content

Commit

Permalink
fix: missing until for retry in gce plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
cnfrancis committed Jan 9, 2025
1 parent 9514107 commit 8aa5a67
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 8aa5a67

Please sign in to comment.