Skip to content

Commit

Permalink
add retries
Browse files Browse the repository at this point in the history
  • Loading branch information
mgirgisf committed Dec 4, 2023
1 parent f7bc6a3 commit 76394b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/define_pvs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
become: true

- name: "Create the pvs"
retries: 3
delay: 10
until: make_output.rc == 0
block:
- name: "Run make crc-storage"
ansible.builtin.shell:
cmd: |
STORAGE_CLASS="{{ __service_telemetry_storage_persistent_storage_class }}" STORAGE_CAPACITY=40 make crc_storage
register: make_output
args:
chdir: "{{ install_yamls_dir }}"
register: make_output
retries: 3
delay: 10
until: make_output.rc == 0

- name: "Print make result"
ansible.builtin.debug:
Expand Down

0 comments on commit 76394b3

Please sign in to comment.