Skip to content
This repository has been archived by the owner on Apr 10, 2020. It is now read-only.

Vagrant build fails at task EPEL repo installation #34

Closed
vonpelz opened this issue Apr 19, 2018 · 2 comments
Closed

Vagrant build fails at task EPEL repo installation #34

vonpelz opened this issue Apr 19, 2018 · 2 comments

Comments

@vonpelz
Copy link
Contributor

vonpelz commented Apr 19, 2018

TASK [geerlingguy.repo-epel : Install EPEL repo.] ******************************
FAILED - RETRYING: Install EPEL repo. (5 retries left).
FAILED - RETRYING: Install EPEL repo. (4 retries left).
FAILED - RETRYING: Install EPEL repo. (3 retries left).
FAILED - RETRYING: Install EPEL repo. (2 retries left).
FAILED - RETRYING: Install EPEL repo. (1 retries left).
fatal: [awx_container]: FAILED! => {"attempts": 5, "changed": false, "msg": "", "rc": 0, "results": ["epel-release-7-11.noarch providing /tmp/epel-release-latest-7.noarchD25pNv.rpm is already installed"]}
        to retry, use: --limit @/vagrant/prebuild/prebuild.retry

PLAY RECAP *********************************************************************
awx_container              : ok=3    changed=0    unreachable=0    failed=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

Seems it is due to Ansible 2.5:

geerlingguy/ansible-role-repo-epel#26

A PR has been raised, waiting for merge.

@geerlingguy
Copy link
Owner

I just tested and found the same thing. D'oh! I'll check that role.

@geerlingguy
Copy link
Owner

That PR has been merged (geerlingguy/ansible-role-repo-epel#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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants