-
Notifications
You must be signed in to change notification settings - Fork 46
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
Using curl bash to install local repo is probably not a great idea #102
Comments
What's the drawback? It's pretty common in large orgs, esp. in air gapped environments, to rely on a local repo... |
First, I looked through the repo setup script that we provide and it really only does a handful of things that we could stuff into the ansible directly. It's not actually downloading and building a repo, it's only configuring the package handler to be aware of our repos. For rpm-based installs it basically does:
It does something similar for deb-based ones. |
This is largely resolved. The sole exception is the download and dearmoring of a key
I haven't found a good workaround to this method yet. |
you can try to predicate this on the existence of the file at rp_key_path_deb_actual. If that path exists, there's probably no reason for this task to re-run on subsequent runs. We're highly unlikely to ever change the GPG key. |
Resolved with the recent updates to redpanda-ansible-collection |
Currently we are downloading and setting up a local repo on the servers using a curl script and then doing a rpk yum etc from local repo.
This should likely be changed to use our public repos appropriately with the correct tool with an explicit version flag, and related variable.
Current code:
The text was updated successfully, but these errors were encountered: