ansible-role-repo-remi
ansible-role-repo-remi copied to clipboard
Use CDN for GPG key URL (at least)
See: https://github.com/geerlingguy/ansible-role-php/issues/337#issuecomment-889634873
Basically, we want to make it so it's easy to keep the role functioning even if @remicollet's main server infrastructure has some issues, like it did in late July for a couple days. See that issue for the details.
to note that the "CDN" mentioned in the linked issue is a small set of servers who server HTTP only.
It would probably be easier to implement a subdomain behind Cloudflare to cache such requests instead.
Different issue but related, as the same fix would resolve this issue.
Issue: The GPG key URL changed and I had to set this to make it work
remi_repo_gpg_key_url: http://rpms.remirepo.net/RPM-GPG-KEY-remi
Note that the correct GPG-key depends on the used Linux-version:
- Enterprise Linux (EL)
- EL 9: https://rpms.remirepo.net/RPM-GPG-KEY-remi2021
- EL 8: https://rpms.remirepo.net/RPM-GPG-KEY-remi2018
- EL <=7: https://rpms.remirepo.net/RPM-GPG-KEY-remi
- Fedora
- Fedora 36-37: https://rpms.remirepo.net/RPM-GPG-KEY-remi2022
- Fedora 34-35: https://rpms.remirepo.net/RPM-GPG-KEY-remi2021
- Fedora 32-33: https://rpms.remirepo.net/RPM-GPG-KEY-remi2020
- Fedora 30-31: https://rpms.remirepo.net/RPM-GPG-KEY-remi2019
- Fedora 28-29: https://rpms.remirepo.net/RPM-GPG-KEY-remi2018
- Fedora 26-27: https://rpms.remirepo.net/RPM-GPG-KEY-remi2017
- Fedora <= 25: https://rpms.remirepo.net/RPM-GPG-KEY-remi
See "Other resources" at the end of the page at https://rpms.remirepo.net/