1
0
Fork 0
forked from infra/ansible
Commit graph

47,291 commits

Author SHA1 Message Date
James Antill
5e92dce7c7 siguldry: Have stg. RabbitMQ files keep the .stg suffix.
Signed-off-by: James Antill <james@and.org>
2026-09-25 14:24:21 -04:00
James Antill
7687e1f8d7 siguldry: Fix typo for koji env_suffix.
Signed-off-by: James Antill <james@and.org>
2026-09-25 14:19:07 -04:00
James Antill
a5fedc3b3c siguldry: Fix typo for epel9 key name.
Signed-off-by: James Antill <james@and.org>
2026-09-25 14:15:45 -04:00
James Antill
f67836787c siguldry: Create directory for RabbitMQ certs.
Signed-off-by: James Antill <james@and.org>
2026-09-25 12:19:34 -04:00
James Antill
6eb5c53d8b siguldry: Change RabbitMQ Q name to be the username.
Signed-off-by: James Antill <james@and.org>
2026-09-25 12:13:47 -04:00
James Antill
eeea1651e0 siguldry: Add rabbitmq cert. tweak helper script and autopen conf.
Signed-off-by: James Antill <james@and.org>
2026-09-25 12:05:05 -04:00
Jakub Kadlcik
d49b7f89b2 copr-be: update blocked owners 2026-09-25 17:46:28 +02:00
0ea786c276 Add logrotate for httpd
The httpd logs for IPA are large and are not compressed with default
logrotate config. This will add a logrotate config that compress them.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-09-25 13:25:29 +02:00
Lenka Segura
626c8cccb3 dist-git: add multivm support
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2026-09-25 10:46:03 +00:00
674fad4717 proxies / koji: block a script thats ddosing koji db
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-24 15:21:09 -07:00
d008509ba0 postgresql: add new rhel10 db servers to playbook
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-24 14:19:48 -07:00
b6bd80b56c mariadb: add db04 to the playbook
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-24 14:15:25 -07:00
efc6ac49b2 add rhel10 prod database servers: db-fas02, db-koji02, db-openqa02, db-riscv-koji02, db02, db04
These will be replacing the rhel9 versions next week on the outage on
thursday. The basic process will be to sync data from the old ones
then enable checksums with pg_checksum, then upgrade to postgresql18.
Finally the old ones will be taken down and the new ones will take over
the old name/ip (to avoid firewall complications).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-24 21:12:59 +00:00
Jakub Kadlcik
68b2c298aa copr-be: update blocked owners 2026-09-24 21:51:26 +02:00
James Antill
d126a46f18 siguldry: Add a helper script to run cli commands on the server.
Signed-off-by: James Antill <james@and.org>
2026-09-24 15:35:25 -04:00
James Antill
38b4b0b48c siguldry: Fix the bridge hostname, and add the ports to the firewall.
Signed-off-by: James Antill <james@and.org>
2026-09-24 15:25:29 -04:00
James Antill
9272948058 siguldry: Use .key and not .crt for private data.
Signed-off-by: James Antill <james@and.org>
2026-09-24 14:37:57 -04:00
James Antill
17521fb4c9 siguldry: Use the private paths for the private data.
Signed-off-by: James Antill <james@and.org>
2026-09-24 14:33:56 -04:00
8f1de67d42 🧱 proxies-redirects: Add AI/ML SIG docs redirect
This commit puts a proxy redirect into place, which will redirect all
traffic to docs.fp.o/ai/ to docs.fp.o/ai-ml/. This matches the name of
the SIG and helps us with the change in the Antora component name, which
was discussed in today's AI/ML SIG meeting. The redirect helps to make
sure we don't lose any web traffic for folks who have used the old link
since the site was launched in March 2026.

ref: ai-ml/docs#4

Signed-off-by: Justin Wheeler <jwheel@redhat.com>
2026-09-24 18:07:25 +00:00
c2ee8bcef4 proxies / redirects: change spacing to make ansiblielint happy
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-24 11:07:02 -07:00
b946c1ecc2 proxies / redirects: attempt ansiblelint fix for handlers
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-24 11:05:02 -07:00
488cefa2f6 Add ktdreyer.koji_ansible collection
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2026-09-24 17:59:55 +00:00
3816b87e39 ipa / server / zabbix: fix ansiblelint complaint
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-24 10:58:06 -07:00
James Antill
b3b33aa342 siguldry: Use default paths, so we don't need symlinks.
Signed-off-by: James Antill <james@and.org>
2026-09-24 13:14:36 -04:00
a75dd67283 copr-frontend: fix SyntaxWarning in copr.conf
/etc/copr/copr.conf:206: SyntaxWarning: "\." is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\."? A raw string is also an option.
    "pattern": "^@python/python3\.\d+/.*/root$",
2026-09-24 14:26:06 +02:00
16a19b424b people: add quota for nimbinatus ( ticket 13574 )
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-23 14:50:25 -07:00
James Antill
57d9184142 kickstarts: Remove all the ignored_files.
Signed-off-by: James Antill <james@and.org>
2026-09-23 16:59:52 -04:00
382aa4afed anubis-el: also just default to WARN here too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-23 13:22:55 -07:00
James Antill
2ee107a930 kickstarts: Move hardware-rhel-10-10disk-copr from ignored files to KS files.
Signed-off-by: James Antill <james@and.org>
2026-09-23 16:15:10 -04:00
James Antill
178fab4f48 kickstarts: Check deployed vs. config. So we don't have old KS files.
Signed-off-by: James Antill <james@and.org>
2026-09-23 16:15:10 -04:00
0253a8c56f anbuis / proxies: actually change the anubis log level on proxies too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-23 12:26:14 -07:00
92f13f760b anubis: set logging down to WARN
The default logging is INFO, and it's very noisy.
While we aren't actively debugging anything, lets set it back to WARN.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-23 12:21:41 -07:00
James Antill
385a276eb6 kickstarts: Add hardware-fedora-08disk, we have a template that's published.
Signed-off-by: James Antill <james@and.org>
2026-09-23 14:50:19 -04:00
James Antill
48378cb2ec buildhw-x86-13: Add dhcp entry.
Signed-off-by: James Antill <james@and.org>
2026-09-23 13:30:32 -04:00
d127dc7aa1 forge-distgit: Add webhook allowed host lists to dist-git configuration 2026-09-23 14:24:14 +10:00
724ad0a3b9 db-datanommer01: add new rhel10 db-datanommer01 in prod
This instance will eventually replace db-datanommer02
(next thursday hopefully). In the mean time we can start syncing the
data to it so we can update timescaledb on 02 and still have a way to
back out in case of doom.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-22 14:05:26 -07:00
James Antill
9b3dc7d942 siguldry: Fixes so playbook completes.
Signed-off-by: James Antill <james@and.org>
2026-09-22 16:40:03 -04:00
bb12765eb2
Facts: work around 2.16 bug for parallel facts
See https://github.com/ansible/ansible/issues/82685

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-09-22 17:16:28 +01:00
Adam Williamson
af8c1ce0fe Revert "quality: testdays - revert resultsdb removal, add delete hooks"
This reverts commit a62497b885. That is,
it goes back to the state with resultsdb removed, as we've now run the
delete hooks.
2026-09-21 17:20:28 -07:00
a62497b885 quality: testdays - revert resultsdb removal, add delete hooks
Revert commit 6ef9d68439 which removed resultsdb references without
first deleting the OpenShift resources, leaving them orphaned.

Add openshift/object-delete roles gated with [never, delete-resultsdb]
tags to properly clean up the resultsdb resources from OpenShift.

To delete the resources, run:
  sudo rbac-playbook -l os_control_stg[0] -t delete-resultsdb openshift-apps/testdays.yml
  sudo rbac-playbook -l os_control[0] -t delete-resultsdb openshift-apps/testdays.yml

Assisted-by: Claude Opus 4.6 (via OpenCode)
2026-09-22 00:14:51 +00:00
e72c906904 batcave: check-diff cron: set open files to 64k
Right now the default number of open files is 1024 and running a bunch
of playbooks hits that limit. So, just increase it to 64k to avoid that.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-21 17:09:57 -07:00
James Antill
1630ba57cf siguldry/autopen: Fix name of gnupg-pkcs11-scd.
Signed-off-by: James Antill <james@and.org>
2026-09-21 20:09:48 -04:00
c5a4930729 Drop db-datanommer02.stg and db-datanommer03.stg
db-datanommer01.stg is now rhel10 and postgresql18 and timescaledb
2.30.0.

We dont need the other two transitory ones left around now.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-21 14:06:44 -07:00
646069023c
Zabbix/IPA: fix template to monitor tomcat properly
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-09-21 09:34:06 +01:00
Jakub Kadlcik
ce3618d9b5 copr-be: update blocked owners 2026-09-21 07:36:47 +02:00
8b4909aadc Re-enable SSH key sync from FAS for staging
Enable SSH key synchronization from Fedora Accounts OIDC for staging
environment to test with multiple keys.

Changes:
- Add attribute-ssh-public-key: ssh_key for staging
- Add fas-attributes scope to OPENID_CONNECT_SCOPES for staging
- Forgejo code already handles both string (1 key) and array (2+ keys)

Testing: User with 2 SSH keys in FAS to verify array handling.
2026-09-21 14:57:59 +10:00
825f0283ca proxies: block another ip
This one is getting scm-commits archives page by page (now on page
176504). Thats causing a lot of db query overhead.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-20 18:57:17 -07:00
0b25572d91 proxies: add ip to block list
This is an aws ip that is scraping bodhi with things like:
"GET /updates/?type=security&rows_per_page=200&page=51 HTTP/1.1" 200 2176010 "-" "python-requests/2.34.2"

Where the page is up to thousands after a while.
These are very large and hit the db server very hard when it has to
search for really really old security updates.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-20 11:20:41 -07:00
8906a2eaac koji_hub: add fedora-45 to koji-gc
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-09-19 08:52:08 -07:00
0a3777f212
forgejo: add backup01 to staging_friendly to enable export from ocp
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2026-09-18 22:37:58 +01:00