diff --git a/tasks/main.yml b/tasks/main.yml index 8ac24a6..6e89d5b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -3,6 +3,10 @@ yum: name: "{{ epel_repo_url }}" state: present + register: result + until: '"failed" not in result' + retries: 5 + delay: 10 - name: Import EPEL GPG key. rpm_key: