diff --git a/tasks/main.yml b/tasks/main.yml index 5d0c0ad..5580916 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -8,7 +8,7 @@ name: "{{ epel_repo_url }}" state: present register: result - until: '"failed" not in result' + until: 'result.rc == 0' retries: 5 delay: 10 when: not epel_repofile_result.stat.exists