1
0
Fork 0
forked from infra/ansible
Commit graph

71 commits

Author SHA1 Message Date
57a760e09c
Zabbix: port remaining Copr items from Nagios
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-06-04 16:54:37 +01:00
Jiri Kyjovsky
259ec5b2e8 copr-be: enable rpmeta build time prediction (observability-only)
Deploy rpmeta config to copr-be.conf and hardware pools YAML with
real builder specs. Initially logging-only, does not affect VM allocation.
2026-06-01 17:21:57 +02:00
Jiri Kyjovsky
8daa7e4eb1 copr: revert inventory changes, and birthday 2025-11-23 22:34:22 +01:00
Jiri Kyjovsky
9001be94ca copr-devel: moving devel infrastructure to fedora43 [part 1] 2025-11-09 22:29:16 +01: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
d892f37f67 copr-be-dev: enable services on the new box 2024-11-29 21:28:45 +01:00
ee7484ca14 copr-be-dev: keep services disabled for now 2024-11-29 20:37:55 +01:00
f11eb65ffc copr-infra: setup root passwords
This is useful when trying to fix things like /etc/fstab
https://fosstodon.org/@praiskup/113557853677016655
2024-11-29 09:44:21 +01:00
13945a7f06 Revert "copr-be-dev/copr-kg-dev: keep services disabled for now"
This reverts commit 21d6565e94.
2024-11-27 23:26:39 +01:00
21d6565e94 copr-be-dev/copr-kg-dev: keep services disabled for now 2024-11-27 22:22:46 +01:00
5c4f8b6ae4 copr: cleanup unused config 2024-03-12 13:18:23 +01:00
4df602f3ac copr-dev: enable services (all on F39 now) 2023-11-22 16:40:17 +01:00
9cb3183a9d copr-dev: services disabled
Per https://docs.pagure.org/copr.copr/how_to_upgrade_persistent_instances.html
2023-11-21 11:59:59 +01:00
4b656cdb3f copr-be-dev: enlarging data VG with additional RAID1 2023-10-03 15:38:39 +02:00
c0d3a4ec2e copr: frontend_base_url is defined in copr_aws and copr_dev_aws 2023-08-22 09:18:40 +02:00
21be6fd294 copr: use smtp-auth-relay for all hosts 2023-06-19 11:08:23 +02:00
8d891f9b32 smtp-auth-relay: reset main.cf
The postfix_group is used on multiple places.
2023-06-19 10:26:46 +02:00
82205131b7 smtp_auth_relay: new role, use by copr-dist-git-dev for now 2023-06-19 10:10:43 +02:00
cac048ea1b Revert "copr-be-dev-temp once more"
This reverts commit b8d01fe722.
2022-11-23 21:38:42 +01:00
75c74f3166 copr-be-dev: reenable services 2022-11-23 00:28:19 +01:00
218121b948 copr-be-dev: use raid10 (same pattern as prod) 2022-11-22 19:53:28 +01:00
Jakub Kadlcik
9e39477532 copr: set services_disabled to true for dev instances 2022-11-17 23:30:32 +01:00
Jiri Kyjovsky
f41baf6f21 copr: configure list of root users just on one place 2022-09-19 14:07:37 +02:00
d083b291d3
sent_topics can't be a list, it has to be a single regexp
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-07-07 09:09:24 +02:00
4249161ad0
RabbitMQ: add topic auth to more apps
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-07-05 08:35:10 +02:00
b5c09240f1 remove schlupova
Silvie left the team and RH
2022-06-01 11:08:14 +02:00
e1bd5ad45d copr: change copr-fe-dev.cloud.fedoraproject.org to copr.stg.fedoraproject.org 2022-02-10 16:13:58 +01:00
2eab0c9987 copr: change copr-fe-dev.cloud.fedoraproject.org to copr.stg.fedorainfracloud.org
Also change copr-fe-dev.aws.fedoraproject.org to
copr.stg.fedoraproject.org. It is needed because of setup in kerberos
config files placed in the fedora-packager-kerberos which takes
stg.fedoraproject.org as staging instance, not aws.fedoraproject.org
2022-02-10 14:49:56 +01:00
d22cd2329c copr-backend: use Let's Encrypt certificate
This has been in staging for a long time, and now when the certificates
are automatically backed up on Backend we can afford moving it to
production.
2022-02-04 15:25:46 +01:00
47f1841494 copr/certbot: revert the automatic backup/restore of certs
For synchronizing from host A to host B we would have to have SSH
configured from A to B or from B to A (which we don't, and we don't even
want to).  The slurp solution would work, but certbot is pretty picky
WRT the restored /etc/letsencrypt directory (structure, filenames,
symlinks..).
2022-01-30 23:02:51 +01:00
9ce266360f copr/certbot: support certificate backup 2022-01-30 18:51:09 +01:00
a9c8dda4ca copr: auto-setup the ipv6 configuration
Turns out that, even though IPv6 is configured on the initial VM boot,
the IPv6 needs manual tweeks and reboot (or nmcli dance).  Related to:
https://pavel.raiskup.cz/blog/switch-fedora-box-to-ipv6-in-aws.html
2021-11-30 13:35:23 +01:00
Jakub Kadlcik
269fcb3928 copr: enable services on corp-be-dev 2021-11-29 21:09:01 +01:00
Jakub Kadlcik
3004b47d71 copr: disable services on corp-be-dev 2021-11-29 20:40:14 +01:00
Jakub Kadlcik
25e45cd5eb copr: enable letsencrypt generation for copr-be-dev again
This reverts commit 2cdfe500ad.
2021-11-20 20:39:40 +01:00
Jakub Kadlcik
2cdfe500ad copr: disable letsencrypt generation for copr-be-dev 2021-11-19 20:36:10 +01:00
Jakub Kadlcik
7a4c07a20b Revert "copr: try to obtain certificate for copr-be-dev-temp"
This reverts commit 654e094550.
2021-11-19 20:35:39 +01:00
Jakub Kadlcik
654e094550 copr: try to obtain certificate for copr-be-dev-temp 2021-11-19 20:26:16 +01:00
5e5f342477 copr-be: open 9100 port properly 2021-11-18 15:26:28 +01:00
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
c4bd963d27 copr-be: move copr builder iamge config close to the quota config 2021-07-14 13:36:32 +02:00
fddd881561 copr-be-dev: newer ppc64le image with faster network convergence? 2021-07-13 14:29:32 +02:00
56333c899f copr-be: one more ppc64le image update
This one should have enough space in / directory.
2021-07-12 18:10:16 +02:00
b94611c483 copr-be: fixed ppc64le image for ipv6 config, #1 2021-07-12 16:23:31 +02:00
69f856149e copr-be-dev: try to start ppc64le machines 2021-07-12 10:22:48 +02:00
63b2de25cb copr: preparations for the first ppc64le vmhost 2021-06-29 10:01:07 +02:00
4fdda9ba30 copr-be-dev: f34 builders 2021-05-16 16:48:55 +02:00
81f7599eb7 copr-hv: prepare the builder image so the VM starts swap, attempt #3 2021-05-11 23:02:07 +02:00
45ab72261f copr-be: use builder image that has correct authorized_keys, attempt #2 2021-05-11 22:47:29 +02:00
b681da4d4a copr-be: use builder image that has correct authorized_keys 2021-05-11 22:32:41 +02:00