From c52652f266fe02f8c1650b59cc76afc837127b46 Mon Sep 17 00:00:00 2001 From: James Cuzella Date: Sat, 3 Feb 2018 18:13:43 -0700 Subject: [PATCH] Fix #23 --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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