Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible-builder will not install EPEL dependencies on anything but CentOS #542

Open
felixfontein opened this issue May 20, 2023 · 2 comments

Comments

@felixfontein
Copy link
Contributor

So neither on Rocky Linux nor RHEL, even if EPEL is provided.

(On CentOS it will also try to install EPEL dependencies if the EPEL repo hasn't been added.)

It sounds to me like this should be configurable, and potentially investigate whether the EPEL repo is configured instead of simply determining this by looking at the release name.

@github-actions github-actions bot added the needs_triage New item that needs to be triaged label May 20, 2023
@sivel
Copy link
Member

sivel commented May 22, 2023

fwiw, this is the reason that line exists: ansible/python-builder-image@6d0d3be

There is no epel repo for ubi8 images, so we need to make this step conditional

One note, is that we previously have said that enabling the epel repo is not something we will do automatically. So to use it, would need to be a specific action to already have it enabled, such as listing it under system deps.

@felixfontein
Copy link
Contributor Author

Yeah, enabling it automatically is definitely not a good idea, but allowing to configure an option between "always try to install epel dependencies", "never try to install epel dependencies", and somd kind of "autodetect" would be nice (and useful) IMO :)

@sivel sivel removed the needs_triage New item that needs to be triaged label Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants