1
0
Fork 0
forked from infra/ansible
Commit graph

114 commits

Author SHA1 Message Date
a326adbb30 epel10-infra: add new signing key
The old key we were using for old releases had some sha1 in it
somewhere, so rhel10 rejects it (great!). So, lets use a newly generated
key that is acceptable to rhel10 and much nicer.

This adds the public key file, the repos that use that file, the rhel10
post kickstart that sets up the repo, robosignatory to sign epel10-infra
stuff with this new key and finally on rhel10 hosts put the new repo in
place.

Note that this only changes the rhel10 setup, all rhel8/9 machines are
still using the old key. We may want to move them over, or just not care
as we retire all of them.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-07-09 14:52:33 -07:00
8e959f2f08 Switch epel10.repo to use epel/10z
The epel/10 symlink tracks the latest EPEL 10 minor version, which
targets CentOS 10.  The epel/10z symlink tracks the EPEL 10 minor
version corresponding to RHEL 10.  Since we're using RHEL 10 in the
infrastructure, we need to use epel/10z to ensure compatibility.

Follow up to 1963b068d3.

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2026-06-09 22:59:54 +00:00
1963b068d3 Switch epel10.repo and rhel10.repo to use a link to latest
There's no super right answer here, but if we point to a specific minor
release here it means we have to move all machines to it when we change
it, and we have to remember to do so.

If we just use '10' and depend on the link that points to the latest
minor:

lrwxrwxrwx. 1 root root    4 May 19 17:12 /srv/web/repo/rhel/rhel10/10 -> 10.2/

then we don't have to keep changing this all the time, it will just
update when that link changes.

This doesn't leave us an easy way to keep some hosts back to the old
minor, but in practice we pretty much never do this anyhow.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-05-20 14:31:53 -07:00
James Antill
94bc9204c7 el10: Move to 10.1 and also use a HC value for epel repos.
Signed-off-by: James Antill <james@and.org>
2025-11-17 10:49:50 -05:00
James Antill
386c4e573e epel: Add el10 epel GPG KEY.
Signed-off-by: James Antill <james@and.org>
2025-10-21 19:32:58 -04:00
James Antill
51655912dc epel: Add el10 epel file.
Signed-off-by: James Antill <james@and.org>
2025-10-21 19:22:26 -04:00
e2064748db Correct epel10 repo for minor versions in our infra
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-09-17 12:57:22 -07:00
James Antill
0536504bf8 rabbitmq: Fix typos in repo file.
Signed-off-by: James Antill <james@and.org>
2025-06-20 15:15:57 -04:00
James Antill
319218f3fb repos: add CentOS-9s RabbitMQ SIG repos/gpgkey and install tasks.
Signed-off-by: James Antill <james@and.org>
2025-06-20 10:45:02 -04:00
59cc796960 repos: add rhel10.repo and epel10.repo for rhel10 hosts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-30 18:58:07 -07:00
86c4be93a7 re-add rhel7 repo for now too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-03 16:15:35 -07:00
fc56172d09 epel7: readd the old epel7 repo for now until the last few vms are gone
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-03 16:10:53 -07:00
Stephen Smoogen
432a3a497b Go through and remove entries for EL6 and EL7
Using `git grep el6` and `git grep el7` and variants like EL-7 or
el-7, I found various entries and files which were no longer needed
with the current ansible. I updated text or tests to later versions of
RHEL as needed.

found entries for the fedora ami's for the original cloud and removed
those entries also.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2024-07-03 22:20:30 +00:00
d11f9c5ced epel7 retirement
Drop epel7 all the places in ansible where it is and makes sense.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-03 20:00:59 +00:00
1a59576685 files/common: remove some no longer used modular repos
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-20 12:37:26 -07:00
5307818474 aws: epel9 repofile && gpgkey 2024-03-13 19:12:26 +01:00
1da5038fcb base repos: make everything pointing to infrastructure use https
There's no reason any of these should be http.
https://infrastructure.fedoraproject.org should be valid and work
everywhere.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-02-15 10:41:05 -08:00
Andrew Heath
f97666a75d Add logrotate for proxy systems
Added rsyslog logrotate cong for proxy systems and a task land the
configs as well as fix some yamllint errors.
2024-01-15 09:55:20 +00:00
Stephen Smoogen
7d7d0bf0a8 Remove smooge from various aliases
Currently, I (Stephen Smoogen) do not have the time to work on Fedora
system administration items. However, I get a lot of email and people
see my email address in various places to ping me for working on
things. I feel it would be better to remove myself from those places
and let Fedora Infrastructure add someone else to replace me when it
is possible to do so.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2023-07-17 23:34:18 +00:00
3f253336e0 try dl here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-17 12:37:37 -07:00
572ea9ba9d rhel6: set archive urls for fas
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-17 12:35:13 -07:00
a02e57944f rhel9: disable advanced virt for now as it does not exist
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-19 14:02:39 -07:00
5e59e1f3ac add rhel9 repos
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-18 13:11:34 -07:00
af7c94951a and add the files
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-16 18:21:49 -07:00
bcd4365fec rhel sync: add advanced virt repo to sync and rhel8.repo files
We want to use advanced virt as it has a more tested/tweaked/patched set
of virt tools for our virthosts.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-01 14:37:29 -08:00
680ebd81db yum repos: drop failovermethod from secondary repo files too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-29 14:15:11 -07:00
54a29eaaa1 repo files: drop failovermethod=priority as it's not been used in years
Additionally, newer fedora complains about it being invalid.
It was used back in the yum days and never ported to dnf.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-23 11:07:35 -07:00
eefdc6f33b yumrepos: import the EPEL7 public key
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-30 14:34:01 +02:00
aa3769d3bf yumrepos: Add an original-epel7.repo file for RHEL7/CentOS7 in aws
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-30 14:31:29 +02:00
Stephen Smoogen
d52393624d Add back in centos-ipa-client as that is a different project
cut and pasta failure with mobrien ssh key
2021-03-23 16:52:20 +00:00
Stephen Smoogen
2adb66f4d5 General cleanup of aliases and add mobrien to various places.
Remove old smooge lines
Remove centos box which is no longer existant.

Signed-off-by: Stephen Smoogen <smooge@smoogespace.com>
2021-03-23 16:52:20 +00:00
280eebdcee tasks/yumrepos: cope with archived Fedora releases
We have some hosts that run on archived/EOL Fedora releases, their
repository URLs need to reflect that.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-19 15:22:21 +00:00
6523edb25b use original epel repository in AWS datacenter 2021-03-15 20:53:40 +01:00
ddb96ead29 iad2: For some reason python3 ansible catches this. Cast FedoraBranchedNUmber to int here.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 09:41:58 -07:00
5f626eb145 iad2: have rabbitmq instances use rhos16 instead of rhos13, which was/is rhel7 based
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-31 13:35:43 -07:00
ee2f34128a Enable the CRB repo by default on RHEL8
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-20 15:20:20 +02:00
cf517215a5 rhos13 repo: turns out we still use this for newer rabbitmq
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-13 16:10:05 -07:00
Stephen Smoogen
4b7a21c026 add rhel8.repo 2020-04-24 21:34:29 +02:00
Stephen Smoogen
d9ba19c0a1 Revert "update rhel8.repo to have the codeready for it"
This reverts commit 082f503fb1bc9b2e9160949c3c30386bdf1cfb7c.
2020-04-24 21:34:29 +02:00
Stephen Smoogen
03d54c9bcf Revert "too much stuff we use regularly on many hosts is in CRB. Make it enabled"
This reverts commit f9793bbe57c11d2c6e24dfcd4d9d30cf2d53396b.
2020-04-24 21:34:29 +02:00
Stephen Smoogen
d9f0821238 too much stuff we use regularly on many hosts is in CRB. Make it enabled 2020-04-24 21:34:29 +02:00
Stephen Smoogen
7e95bf93a4 update rhel8.repo to have the codeready for it 2020-04-24 21:34:29 +02:00
8e238ef62a rhel8 repo file: Clean up from beta, use https, make AppStream/BaseOS for dvd repos
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:13 +02:00
dd9e5512e3 common files: fix epel8 path, it has Everything in it.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:13 +02:00
36ed20e7f1 common files: add epel8.repo file for rhel8 machines.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:13 +02:00
e30dd9a3fe fedora repo files: Perhaps we need == here instead of is
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-02 00:07:42 +00:00
8bcd40c086 fedora repo files: If we are setting FedoraBranched to False when not enabled instead of undefining it, we need to test true or false instead of existance.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-02 00:05:22 +00:00
b37dd9e050 yumrepos: Fix fedora-modular baseurl for branched and rawhide 2019-04-11 15:07:48 +02:00
d9eb6f22ac fedora repos: fix comparisions to handle branched instances.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-03-31 18:16:52 +00:00
6546fb9fa9 fedora-secondary yum repos: use |int for numbers and move include for vars before yumrepos
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-03-28 17:39:07 +00:00