Commit Graph

446 Commits

Author SHA1 Message Date
Carl George
fafd6f1adc batcave: delete excluded content in CentOS sync scripts 2024-07-15 21:30:51 -05:00
james02135
abbddf11db Change typo from isos to iso, exclude source
Signed-off-by: james02135 <james02135@hotmail.com>

Change typo from isos to iso, exclude source

Signed-off-by: james02135 <james02135@hotmail.com>

Fix typo in centos 9 sync script

Signed-off-by: james02135 <james02135@hotmail.com>

Include the appropriate exclusions in the CentOS 9 script

Signed-off-by: james02135 <james02135@hotmail.com>
2024-07-09 10:57:12 +00: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
Nils Philippsen
0d6c24558a batcave: Set git directories as safe
Or else users in sysadmin-main can’t access the repositories.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2024-07-01 13:34:48 +00:00
Kevin Fenzi
1f75c26aa6 rhel7: no need to sync it anymore
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-29 18:41:52 -07:00
james02135
decfe3e771 Update centos-10-sync script to rsync
Signed-off-by: james02135 <james02135@hotmail.com>

Change DESTDIR to previously used directory, exlcude debug directory

Signed-off-by: james02135 <james02135@hotmail.com>
2024-06-24 17:33:24 +00:00
Aurélien Bompard
626a24d13a Fix the selinux context of the copied files
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-06-24 09:02:24 +02:00
Kevin Fenzi
c884dc9d30 batcave: use RedirectMatch for batcave toplevel redirect
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-17 15:51:46 -07:00
Kevin Fenzi
73c4e62b57 batcave: redirect top infrastructure page to docs
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-17 14:56:02 -07:00
Carl George
8350b55843 Stop syncing and grobisplitting CentOS Stream 8
CentOS Stream 8 is now EOL, so it is no longer necessary to sync and
grobisplit that content for EPEL 8 Next to build against.

https://pagure.io/releng/issue/12147
2024-06-05 13:14:16 +00:00
David Kirwan
5e76da498f rabbitmq: Change location of rabbitmq public cert export
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-05-31 13:42:07 +01:00
Aurélien Bompard
7133b7db35 Generate a list of expiration dates for the certs
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-05-23 12:09:55 +02:00
james02135
d7132e212c Modify script based on output from last run
Signed-off-by: james02135 <james02135@hotmail.com>
2024-05-22 20:58:19 +00:00
james02135
31fb825690 Write sync script for centos-10 using reposync
Signed-off-by: james02135 <james02135@hotmail.com>

Change variable names to basearch and repo as necessary, fix loop issues

Signed-off-by: james02135 <james02135@hotmail.com>

Fix syntax errors in nested for loop

Signed-off-by: james02135 <james02135@hotmail.com>

Modify script to include os filepath

Signed-off-by: james02135 <james02135@hotmail.com>
2024-05-22 00:15:38 +00:00
Aurélien Bompard
134f77da5b Add a cron job to expose the rabbitmq certs
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-05-07 17:35:33 +02:00
Kevin Fenzi
38b254a579 batcave: enable centos-10-sync
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-02 16:42:02 -07:00
james02135
768b6b0075 Write sync script for centos-10 using reposync
Signed-off-by: james02135 <james02135@hotmail.com>

Change variable names to basearch and repo as necessary, fix loop issues

Signed-off-by: james02135 <james02135@hotmail.com>

Fix syntax errors in nested for loop

Signed-off-by: james02135 <james02135@hotmail.com>
2024-05-02 23:36:39 +00:00
Kevin Fenzi
4c113b98bf batcave01: we do not want the old rhel7 openshift repo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-30 13:01:19 -07:00
Kevin Fenzi
c5f2475537 batcave: renew proxy letsencrypt certs weekly
We occasionally run into problems with certs that aren't renewed in time
or are close to expiring. Just running the proxies playbook will renew
them, but in freezes or the like sometimes there's a long time period
where we don't run that playbook.

So, lets just run weekly with the right tag. This should renew any cert
thats close to expiring.

The job shouldn't normally output anything, but if there's errors it
will email them to admin@

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-27 17:29:48 -07:00
Kevin Fenzi
c45521fcb5 batcave01: patch the uri module to work on fedora targets
The ansible-core-2.14.x in rhel9 (using python 3.9 now) can't handle
running uri module on fedora (python-3.12) without erroring.
There's a backported fix in 2.15, but until thats in rhel9, this will
keep hitting us.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-27 12:00:19 -07:00
Aurélien Bompard
64da337e67 Use fedora-messaging-git-hook on dist-git
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-12-04 17:58:49 +01:00
Aurélien Bompard
4442a309aa Use the fedora-messaging-git-hook package on batcave
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-12-04 12:05:00 +01:00
Carl George
e9c1adca55 batcave: stop syncing EOL CentOS 8 2023-11-17 16:42:17 -06:00
Kevin Fenzi
3c06415a17 batcave01: install moreutils for dns hook
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-07-17 15:33:02 -07:00
Kevin Fenzi
3d5dde0970 batcave01: git repos moved from /git to /srv/git a long while back
We still were expecting them to be in /git.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-07-13 17:06:25 -07:00
Kevin Fenzi
da20307fcc batcave01: no python39-jmespath for now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-07-13 16:34:47 -07:00
Kevin Fenzi
78422a3fd2 batcave01(NEW AND IMPROVED): adjust for rhle9 move
Fix the kickstart/repo for reinstall.
Add rhel-system-roles for linux-system-roles/networking
Drop some python2 items that aren't available in rhel9 anymore.
Collapse the batcave02 stuff into batcave01

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-07-13 16:21:24 -07:00
Kevin Fenzi
757c4f65c3 batcave01: only try and delete files here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-07-13 13:36:05 -07:00
Kevin Fenzi
a780dc21a1 db-datanommer01: retire this database server
We moved to timescaledb over on db-datanommer02 a while back, so this vm
it just sitting there doing nothing. ;)
So, lets drop it off and save some resources.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-26 10:16:11 -07:00
Kevin Fenzi
dc82b8da30 batcave: adjust packages for rhel9
This is for a test batcave02 for now, but will be used when we move
batcave01 over to rhel9

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-10 16:34:17 -07:00
Kevin Fenzi
feceb99528 batcave: install python39-jmespath for copr playbooks
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-11-18 18:28:00 -08:00
Frank Ch. Eigler
55bfa1af29 batcave vmdiff.sh: timeout this hourly cron job to 1h
Prevent these jobs from running so long that new jobs can get started
meanwhile.  batcave has been observed to run sometimes dozens of old
list-vms-per-host processes under unusual but not rare circumstances.
2022-10-24 23:33:03 +00:00
Frank Ch. Eigler
62fc6023fe ansible-playbook-check-diff.cron: impose a 24hour timeout on check-diff jobs 2022-09-14 18:18:40 +00:00
Kevin Fenzi
e7daae10f7 batcave: pdr cleanup cron needs a / so it does not try and remove the directory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-16 12:28:33 -07:00
Kevin Fenzi
ff52cbd435 rhel sync: make sure errors go to stderr so we see them
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-14 16:22:27 -07:00
Stephen Smoogen
669b21fb67 remove the grobisplitter parts from batcave role. The playbook calls grobisplitter role so different jobs would replace different files. 2022-06-07 14:29:48 -04:00
Stephen Smoogen
63a8c4a39e move back to the older splitter.py. clean up whitespace differences between it and upstream. put upstream in tree for someone to fix later. 2022-05-31 11:30:47 -04:00
Mark O Brien
458fc8813b move proxy09 to aws
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-05-19 15:34:50 +01:00
Kevin Fenzi
8c22933617 batcave/dhcp_servers: drop tftpboot2 and just have one tftpboot dir 2022-05-17 15:34:03 -07:00
Kevin Fenzi
60152d4a68 batcave: fix rhel9 confdir in sync
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-17 09:03:01 -07:00
Kevin Fenzi
6b677313e9 batcave: setup for rhel9 syncing
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-17 08:44:58 -07:00
Mark O Brien
79d095ba93 update batcave web acl for f36-test machine
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-04-14 16:05:43 +00:00
Kevin Fenzi
f2eb6caf29 Revert "Revert "batcave: switch to ansible-core + some collections instead of ansible 'classic'""
This reverts commit dc1f503bdd.
2022-04-04 14:27:00 -07:00
Kevin Fenzi
dc1f503bdd Revert "batcave: switch to ansible-core + some collections instead of ansible 'classic'"
This reverts commit 78ba658d3c.
2022-03-30 13:06:52 -07:00
Kevin Fenzi
78ba658d3c batcave: switch to ansible-core + some collections instead of ansible 'classic'
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-03-30 12:14:47 -07:00
Mark O Brien
725bde438a maintainer-test: add f36 and remove f33
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-03-28 11:56:26 +01:00
Mark O Brien
51aa6e29bc proxies: allow new ip for proxy40
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-03-22 12:20:45 +00:00
Mark O Brien
9ba6b0494c proxies: allow new ip for proxy30
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-03-21 12:27:26 +00:00
Mark O Brien
0252e99468 proxies: allow ip for proxy32 vpn
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-03-14 15:14:27 +00:00
Kevin Fenzi
ce6f0346a9 batcave: drop mention of old openstack keypair
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-02-16 16:20:51 -08:00