Commit Graph

68 Commits

Author SHA1 Message Date
Greg Sutcliffe
40cc20185a Zabbix: fix more hosts/groups for apache-status
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-01-26 14:18:01 +00:00
James Antill
9e8fd4bd7e batcave: Update virthost in the MOTD.
Signed-off-by: James Antill <james@and.org>
2025-11-18 15:54:15 -05:00
Carl George
d3972d8d66 batcave: add sysadmin-epel to groups
Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-08-21 21:26:52 +00:00
Nils Philippsen
6c85fda0c9 Mass remove/replace iad2 -> rdu3, 10.3. -> 10.16.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2025-07-03 20:05:02 +02:00
Kevin Fenzi
5abc226b99 batcave: where batman hangs out working on the batcomputer
Add a batcave01 in rdu3. Note that any changes made to this host before
the cutover may be wiped out by syncing content from the old one, so
probibly you shouldn't use it yet.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-24 15:41:41 -07:00
Michal Konecny
6428f8f772 Sunset github2fedmsg and fedmsg
This commit is removing all the fedmsg related stuff from ansible
repository.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-13 10:08:51 +00:00
iamyaash
b3d6a90b9a motd generic template added
migrated notes from infra/hosts

motd changes; excluding CSI infos

removed csi_* vars from group_vars; converted csi_purpose & csi_relationship into notes

fixed merge conflicts

minor changes; var

updating YAMLs & playbooks

udpated YAMLs & playbooks again

updated correctly; buildhw.yml

fixing merge conflicts

dest added in motd.yml
2025-01-28 01:10:14 +00:00
James Antill
80aa4bbbc2 Initial version of iptables to nftables conversion. 2025-01-16 11:28:24 -05:00
Kevin Fenzi
e3e2cb1d93 odcs: retire service ( infra 12192 )
Time to retire ODCS. ELN is moved off and that was the last thing using
it. Thanks for all the service ODCS!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 18:21:51 +00:00
Kevin Fenzi
0dfa11a6eb fedimg: signing off...
Thanks for all the uploads fedimg.
You go to a far far better place I'm sure.

There's no point in keeping it around now, as it's actually not working
and the replacement ( cloud-image-uploader) should work soon.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-08-13 16:40:01 -07:00
Kevin Fenzi
d366194a22 module-build-service (mbs): retire service
With the EOL of Fedora 38 yesterday, we are no longer building any
modules and can retire our module build service.

Note that toddlers needs to be adjusted still, that will happen after
this.

Thanks for all the modules!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-22 13:38:53 -07:00
Kevin Fenzi
c84b99223c osbs: raise a glass for it's service
This removes osbs and allmost all it's associated playbooks and files.

It served long and well, but we no longer need it.
flatpaks are building with a koji-flatpak plugin.
base/minimal/toolbox containers are building with kiwi.
We aren't building any other containers right now, and we did they could
be added to kiwi.

This is the end of an era... I look with nostolga on
ansible-ansible-openshift-ansible (a role to setup ansible on a control
host and run it from our ansible).

Good bye osbs!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-28 12:52:07 -07:00
Kevin Fenzi
3230e7526d batcave01: add sysadmin-openscanhub
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-16 10:15:12 -08:00
Kevin Fenzi
3db3d12e29 batcave01/bastion: add sysadmin-osbuild
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-07-10 15:45:48 -07:00
Kevin Fenzi
679f7f6f16 iptables: clean up osbuild and add a external block set scaffolding
Setup osbuild so it only needs to exist on the specific builders in the
osbuild channel, not all builders.
Also, setup things so we can add a blocklist that will block external
subnets/ip's if we need to do so. Currently it should just be an empty
set, but we can implement it as needed/desired starting with the ips we
already were blocking on just some hosts.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-26 12:41:07 -07:00
Kevin Fenzi
c2cc0f4dfc batcave: increase disk size while we are moving
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-10 15:03:58 -07:00
Kevin Fenzi
55e2e441d4 disable swap checks on bvmhosts and batcave01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-11-16 17:47:16 -08:00
Kevin Fenzi
8398aec029 basessh: enable internal sftp server globally.
In the past we only enabled sftp on servers where we needed it.
(ones using sshfs, ones that users might need to sftp to, etc).
However, now days the openssh scp client uses sftp, so we might as well
just enable it globally so people don't need to use 'scp -O' (which
has it use the old scp protocol, which will be removed someday).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-29 14:17:13 -07:00
Kevin Fenzi
580cd252c5 Inventory group/host variables: Sort yaml
This was done using yq (
https://mikefarah.gitbook.io/yq/operators/sort-keys )

Doing things this way makes it much easier to see if a variable is set
in a file or if two hosts differ in what variables they set. Hopefully
we can keep things sorted moving forward.

Basically this means just sort a-z anything you add to any host or group
vaiable and it will be in the right place.

Additionally, this enforces 'normal' intent rules for all the variable
files which we should also try and obey. 2 spaces for first level, 3 for
next, etc. When in doubt you can run yq on it.

This should cause NO actual vairable changes, it's all just readability
fixing for humans, ansible parses it exactly the same.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-16 13:27:57 -08:00
Mark O Brien
95d8f07676 freezelist: add batcave 2021-10-11 16:42:42 +01:00
Kevin Fenzi
0bcb4d9805 batcave: set sftp true because people scp things to batcave
Newer fedora is working on dropping scp (for lots of good reasons)
internally, but using a sftp wrapper. ie, you call scp and internally
ssh uses sftp. This won't work unless the server has sftp enabled.
I (and I suspect other admins) scp things to batcave from time to time
so it would be nice to have this on.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-10-04 13:49:59 -07:00
Clement Verna
ea2354658f Remove fpdc playbooks and config.
Signed-off-by: Clement Verna <cverna@tutanota.com>
2021-08-10 20:37:12 +00:00
Kevin Fenzi
c866965b96 batcave: add sysadmin-releng to groups
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-27 15:34:02 -07:00
Kevin Fenzi
3c12ef6aa9 Killed trailing spaces in group/host vars with fire.
Normally it's just a nitpick to not have trailing spaces on variables.
However, for some things like mac address, it really matters.
Bunches of buildhw's were failing ansibile because they were passing
"mac address " to linux-system-roles networking and ansible was going
'huh, nope, I can't find that mac address here at all'.
So, just blow all the tailing spaces away to avoid any other variables
that hit this.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-04 08:52:52 -07:00
Nick Bebout
393efad2be Remove sysadmin-atomic from group_vars also 2021-04-21 16:50:57 -05:00
Nick Bebout
a5e8f0f6c0 Remove sysadmin-gnome from batcave since it was deleted 2021-04-21 15:56:06 -05:00
Nick Bebout
5c1f91f588 sysadmin-hosted is not used anymore 2021-03-28 19:49:32 -05:00
Nils Philippsen
c9b757d866 ipa/client: enable for batcave in prod
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 13:44:33 +01:00
Pierre-Yves Chibon
038eae7cd4 batcave: all the members of sysadmin-debuginfod to ssh into the batcave
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-15 16:14:11 +01:00
Nils Philippsen
dbbf94a411 ipa/client: configure global shell access and sudo
Almost global anyway, i.e. inside the VPN.

The ipa/client-based shell access and sudo rules are only effective for
staging right now, the respective playbook bits are masked out for prod.

- Assign Ansible host groups to IPA host groups, the latter don't care
  about 'stg' in the name and use dashes rather than underscores.
- Distill shell access groups from fas_client_groups in group and host
  vars.
- Let all `sysadmin-*` groups in the previous list run anything via sudo
  in the host group (except bastion & batcave).
- Remove `fas_client_groups` from staging host and group vars.
- Remove sudoers from staging host and group vars if only `sysadmin-*`
  groups have shell access.
- Set up `ipa_client_shell_groups` on bastion to be a super set of the
  same on batcave.

Newly created IPA host groups:
- autosign
- badges
- basset
- bastion
- batcave
- blockerbugs
- bodhi
- bugzilla2fedmsg
- busgateway
- datagrepper
- dbserver
- dns
- fedimg
- github2fedmsg
- ipa
- kernel-qa
- kerneltest
- kojibuilder
- kojihub
- kojipkgs
- logging
- mailman
- memcached
- mirrormanager
- nagios
- notifs
- oci-registry
- odcs
- openqa
- openqa-workers
- osbs
- packages
- pdc-web
- pkgs
- proxies
- rabbitmq
- releng-compose
- resultsdb
- secondary
- sign-bridge
- sundries
- value
- wiki

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-02-01 22:23:41 +00:00
Stephen Smoogen
f65a48aa61 allow log01 to get logs from proxies and other hosts. fix both iptables and rsyncd 2020-06-12 11:01:08 -04:00
Patrick Uiterwijk
77e49920b9 Remove regcfp from ansible
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2020-04-24 21:34:22 +02:00
Mikolaj Izdebski
f4ebcc677a ODCS: Use dedicated sysadmin-odcs group 2020-04-24 21:34:13 +02:00
Mikolaj Izdebski
7fbce5593d Allow sysadmin-osbs to SSH into bastion and batcave
Resolves https://pagure.io/fedora-infrastructure/issue/8182
2020-04-24 21:34:10 +02:00
Kevin Fenzi
54d8b15a04 batcave01: also add sysadmin-copr here or adding it to bastion does no good.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-10 20:47:34 +00:00
Kevin Fenzi
1180728939 repospanner/ansible: Move back to the old cluster setup on new ports
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-04 18:47:12 +00:00
Kevin Fenzi
c1a0587581 batcave01: add sysadmin-gnome so they can login and commit to ansible if need be.
Gnome folks have a gnome-backups01 vm that has a netapp volume for backups.
They manage it via our ansible repo and playbooks.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-03-06 22:06:03 +00:00
Kevin Fenzi
87a4119965 Use the rpc port 2018-11-22 05:28:24 +00:00
Kevin Fenzi
2c15f65915 and firewalls 2018-11-21 22:38:56 +00:00
Kevin Fenzi
fc062cb569 Add sysadmin-libravatar 2018-10-07 21:02:38 +00:00
Patrick Uiterwijk
3266d0004a Add fedmsg-messaging to groups
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-10-04 19:35:36 +02:00
Kevin Fenzi
74b797943f add sysadmin-fpdc to batcave01 2018-09-26 17:52:04 +00:00
Stephen Smoogen
7d793164e7 remove sysadmin-build from hosts 2018-08-22 15:48:13 +00:00
Patrick Uiterwijk
8d71022c19 Allow sysadmin-releasemonitoring access to batcave
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-08-16 08:26:23 +00:00
Tim Flink
3bf46f9b22 adding sysadmin-upstreamfirst to fas_groups on batcave 2018-06-27 16:01:22 +00:00
Kevin Fenzi
31b6ac734f add sysadmin group 2018-06-18 19:43:23 +00:00
Stephen Smoogen
93d2e8f5bb the sysadmin-atomic group will need to run a job 2018-04-12 01:43:31 +00:00
Kevin Fenzi
00f89905c0 for now, lets move back to NFSv3 until storage issue is figured out 2017-09-29 21:53:59 +00:00
Stephen Smoogen
efd7efccd5 move all nfsv4 mounts to 4.0 2017-08-25 17:04:22 +00:00
Stephen Smoogen
4b66a02723 add explicite sec=sys to nfsvers=4 mounts so writes work consistently. 2017-08-14 21:31:06 +00:00