Closed mattmonkey83 closed 6 years ago
Just spotted a related PR has been raised - https://github.com/geerlingguy/ansible-role-repo-epel/pull/25
That PR has been merged (https://github.com/geerlingguy/ansible-role-repo-epel/pull/25), and I tagged a new release of the role—1.2.3—and this is now resolved. Just tested on my local machine and it worked for me!
There appears to be a change in loop conditionals in Ansible 2.5 - https://github.com/ansible/ansible/issues/37980
The install of the epel package works but the conditional fails, leading to retries and eventually a failure of the task.
Changing this line should resolve - https://github.com/geerlingguy/ansible-role-repo-epel/blob/master/tasks/main.yml#L11