Commit Graph

130 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Kevin Fenzi
8c22933617 batcave/dhcp_servers: drop tftpboot2 and just have one tftpboot dir 2022-05-17 15:34:03 -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
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
Leo Puvilland
a25a46b312 Add nano to hosts 2021-11-03 22:13:31 +00:00
Kevin Fenzi
774645fb06 batcave: add sync for centos-9-stream ( releng 10235 )
Sync down once a day the centos 9 stream buildroot.
This will be used as a base for epel9-next bringup.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-29 12:25:57 -07:00
Mark O Brien
c9f047f0a6 batcave: move rhcos folder
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-07-29 11:22:46 +01:00
Mark O Brien
132402f40f remove quote marks
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-07-21 13:01:14 +01:00
Mark O Brien
85aa736050 add rhcos pxeboot directory
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-07-21 12:53:18 +01:00
Mark O Brien
a37980bb0b make dir for sysadmin-openshift group 2021-07-12 10:47:40 +01:00
Kevin Fenzi
b3d2dc7d90 batcave: clean up old tasks
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-17 10:42:18 -07:00
Kevin Fenzi
1ee14dc2f4 batcave: install postgresql12 psql for client querys to db-datanommer
See ticket https://pagure.io/fedora-infrastructure/issue/9913

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-17 10:37:25 -07:00
Kevin Fenzi
ec210427ec batcave: allow sysadmin to read rbac-playbook config
This should allow folks in the sysadmin group to read (but not write)
the rbac-playbook config. This should allow folks to more easily tell
who is granted rights to run some playbook.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-17 09:31:27 -07:00
Kevin Fenzi
d03a311132 batcave: drop old openstack packages
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-05 17:12:38 -07:00
Kevin Fenzi
3d372b037a batcave: install ansible-collection-community-general for various useful modules
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-05 10:51:20 -07:00
Ryan Lerch
9a11a95feb remove batcave's retrieve-security-question.py
Removes the batcave script, retrieve-security-question.py
which is no longer needed with Noggin / FreeIPA-FAS

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-04-19 08:38:25 +10: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
Kevin Fenzi
3495aaad42 batcave: pdr cleanup cron job
cron.d entries have to be mode 644, not 755.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-11-04 09:08:20 -08:00
Aurélien Bompard
5c71822352 Add ansible-freeipa to batcave
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-14 08:41:47 +02:00
Pierre-Yves Chibon
8b6c8a0186 batcave: Improve the name of the task installing the rbac configuration file
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-04 10:34:47 +02:00
Kevin Fenzi
dd7169e36b batcave: install the actual sync script instead of the cron job twice.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-27 09:45:13 -07:00
Mohan Boddu
8ba8429972 Setup rhel and centos sync scripts
Setup rhel8-split scripts and cron job

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-06-15 18:08:45 +00:00
Kevin Fenzi
d42f42bb45 batcave: install rbac-playbook config in iad2 too.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-04 14:55:31 -07:00
Kevin Fenzi
d2ea3fdb00 openvpn / server: add ccd files for all the iad2 hosts.
This will allow the iad2 hosts to connect to the phx2 vpn and use
a different ip from their phx2 counterparts. This way we can change
haproxy/httpd to point to the new iad2 service and migrate it, but
still have the rest of services point to phx2.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-04 12:50:49 -07:00
Pierre-Yves Chibon
a21b274209 Batcave: add support for fedora-messaging
Install the certificates needed to connect to fedora-messaging
Install a configuration file applications can use to send messages
to the message bus using fedora-messaging.
Create the batcave user in rabbitmq

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-15 12:57:54 +00:00
Kevin Fenzi
9a1dd58ac8 iad2: batcave01.iad2: drop some more things we no longer need or want
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 18:37:25 -07:00
Kevin Fenzi
34529cb941 iad2: batcave: do not install cloud packages on rhel8/iad2 batcave01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 18:00:05 -07:00
Kevin Fenzi
6dfd3942c6 yum-metadata-parser is not available
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 17:50:25 -07:00
Kevin Fenzi
a83dfc7548 iad2: batcave01.iad: adjust packages to install based on whats available now, can fix and add more later
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 17:29:48 -07:00
Kevin Fenzi
8f795f5867 batcave: adjust path to be correct for /srv/ansible.git
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-03 14:09:51 -07:00