Skip to content

Commit

Permalink
add retry and delay to get image
Browse files Browse the repository at this point in the history
  • Loading branch information
bgraef committed Mar 23, 2024
1 parent 9a5628f commit 99da7e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion oracle-linux-automation-manager/create_instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
retries: 10
delay: 30
until: result is not failed

- name: Set vcn id
ansible.builtin.set_fact:
my_vcn_id: "{{ result.vcn.id }}"
Expand Down Expand Up @@ -206,6 +206,9 @@
sort_by: TIMECREATED
sort_order: DESC
register: result
retries: 10
delay: 30
until: result is not failed

- name: Print image list
ansible.builtin.debug:
Expand Down

0 comments on commit 99da7e0

Please sign in to comment.