Skip to content

Commit

Permalink
fix: add retry logic for adding multipathd ppa (#1569)
Browse files Browse the repository at this point in the history
Co-authored-by: okozachenko1203 <okozachenko1203@users.noreply.github.com>
  • Loading branch information
okozachenko1203 and okozachenko1203 authored Jul 11, 2024
1 parent 2ce13b7 commit 92ac0b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/multipathd/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
- name: Add backports PPA
ansible.builtin.apt_repository:
repo: "{{ multipathd_repository }}"
register: _add_multipathd_ppa
retries: 10
delay: 2
until: _add_multipathd_ppa is not failed

- name: Install the multipathd package
ansible.builtin.package:
Expand Down

0 comments on commit 92ac0b6

Please sign in to comment.