1
0
Fork 0
forked from infra/ansible
Commit graph

44,024 commits

Author SHA1 Message Date
c0d8d62a64 autosign: allow resigning eln packages with fedora-44 key
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-11 12:24:23 -07:00
7247f9e454 removed * from staging, renamed to keep naming like other playbooks
Signed-off-by: Vít Smolík <me@smoliicek.cz>
2025-08-11 18:12:00 +00:00
cdd3b93a04 fix (most) lint problems on update_all and update_all-stg (+ comments)
Signed-off-by: Vít Smolík <me@smoliicek.cz>
2025-08-11 18:12:00 +00:00
25f82eecf8 WIP: fixing things, removed nagois from update_all.yml
Signed-off-by: Vít Smolík <me@smoliicek.cz>
2025-08-11 18:12:00 +00:00
02e38e2349 fix indentation, so zuul check passes
Signed-off-by: Vít Smolík <me@smoliicek.cz>
2025-08-11 18:12:00 +00:00
5c128f27ac add manual/update_all-stg.yml
Signed-off-by: Vít Smolík <me@smoliicek.cz>
2025-08-11 18:12:00 +00:00
c5957ec1d0 add manual/update_all.yml
Signed-off-by: Vít Smolík <me@smoliicek.cz>
2025-08-11 18:12:00 +00:00
91734c9f82 [datanommer] Increase memory limit to 2Gi
Datanommer crashed on big commit message (see
https://apps.fedoraproject.org/datagrepper/v2/id?id=e51ddae8-ba7e-409c-8329-697bac4d4680&is_raw=true&size=extra-large)
and it was killed by OOM.
Increasing the memory limit to 2Gi helped to process the message. So
let's make this change permanent.
2025-08-11 18:28:22 +02:00
Lenka Segura
8177465025 distgit: hotfix for links to accounts.fpo
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2025-08-11 14:08:53 +02:00
Lenka Segura
ca10dca26a distgit: fix lint errors in distgit role
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2025-08-11 13:06:25 +02:00
Jiri Kyjovsky
24a706e39f copr: powerful machines for rocm-packagers-sig/cs10-mathlib-preview 2025-08-11 09:56:05 +02:00
be1b1503d6 group_vars/all: default nbdr to false for non rdu3 hardware
Non rdu3 hardware doesn't have access to tang.
There's some slight exceptions on some hosts that use tpm,
but we can override that in hosts vars.

Also drop the rdu3 datacenter check, we can just use the
nbde boolean to determine if we run it or not.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-09 15:26:23 -07:00
6e3f6e9ac3 releng-compose: fix the actual ordering/logic error here.
'foo or bar in group_names' is evaluated by ansible as 'foo' or 'bar in
group_names' which turns out to always be true because 'foo' by itself
is true.

So, fix the logic here to test each group and or them together.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-09 13:42:39 -07:00
4e2a54dc91 releng-compose: don't mount /pub on compose-x86-riscv01
This host has no need to copy anything to pub and shouldn't mount this.
Because we are checking if 'releng_compose' is in group names and this
host has 'releng_compose_riscv' in groups it matches, so add a
condtional here to avoid the pub mount.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-09 11:59:45 -07:00
2a2f75daf1 base / iptables: don't remove iptables for now
This was a good change in theory, but in practice it's not.
The 'iptables-legacy' package provides 'iptables' so it gets removed,
but there's some things we still install that depend on it, so it just
gets pulled in later as a dependency.

Examples:

build* machines install oz and ImageFactory that need it
(but we can possibly drop those now)

virthosts have some libvirt subpackages that require it.

I'm not sure we can readd this in a targeted way or should just drop it
for now entirely.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-09 09:17:18 -07:00
b9c73dd6ee Forward Openshift logs to log01
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-08-09 15:55:03 +00:00
James Antill
9f3ece551e updates-uptimes: Add update-daily-refresh. Tweak terminal UI.
Signed-off-by: James Antill <james@and.org>
2025-08-08 16:20:34 -04:00
e57e3dd7e4 ipa/client: mode should be 640 on fedora instances
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-08 12:29:13 -07:00
2b21bc41e4 nfs / client: add some logging to the role to show what mount/dir it's called with
This is useful for places like releng-compose that mount a ton of things
and it's hard to tell which one is failing.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-08 12:17:31 -07:00
db0e5eb546 ipa / client: fedora systems use root:sssd ownership
On rhel the sssd dropin files (which need to be the same owner/group as
the main sssd.conf file) are root:root, but on fedora they are
root:sssd. So, split out this task to handle the two different cases.

Assisted-by: claude
(I had it generate this, and it actually did a reasonable job I think)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-08 11:54:33 -07:00
964e8ab99b releng-compose: no need to check for secondary instance here, groups are correct
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-07 17:21:42 -07:00
c87cb347dd compose-x86-riscv01: try quotes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-07 16:25:22 -07:00
e051b69c8b compose-x86-riscv01: this is a secondary instance
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-07 16:11:52 -07:00
a3872218b5 ibiblio02: reconfigure network/add new vlan on br1
We want to move things over to the new vlan at ibiblio,
so setup ibiblio02 to have a br1 bridge on that vlan.
Note that the current setup before this commit was not even
correct and after this it should correctly be using 2
interfaces bonded with the 2 bridges over it (one of them
tagged for the new vlan, one of them on the default (old)).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-07 15:36:25 -07:00
Lenka Segura
a2cfb0a360 pagure: hotfix for links to accounts.fpo
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2025-08-07 21:15:42 +00:00
Lenka Segura
c5ca513364 pagure: Fix lint errors in main task
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2025-08-07 22:21:42 +02:00
James Antill
38f3be9ca9 updates-uptimes: Stats command and UI improvements.
Signed-off-by: James Antill <james@and.org>
2025-08-07 15:41:35 -04:00
68d7e76db9 inventory: remove some no longer existant hosts and groups
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-06 17:00:09 -07:00
2d5b729a7c proxies: move last f41 proxies to f42.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-06 16:33:51 -07:00
4445de3f1a tftp_server: drop old rhcos images
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-06 11:57:39 -07:00
94406996e3 tftp_server: delete files not in bigfiles on batcave01
We should just always setup files on batcave and sync them over instead
of having local copies of things.

I've saved a copy of the current one off on each noc in case there was
some super special image we didn't save off, but hopefully we don't need
it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-06 11:54:56 -07:00
ba0393fece
Deploy a patch in distgit to fix Infra ticket 12622
See: https://pagure.io/fedora-infrastructure/issue/12622
Patch sent upstream: https://pagure.io/pagure/pull-request/5529

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-08-06 17:04:00 +02:00
777343ed38 staging: add rdu3.fedoraproject.org to dns search order
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-05 20:57:10 -07:00
James Antill
339f877842 updates-uptimes: Add update-flush command explicitly.
Signed-off-by: James Antill <james@and.org>
2025-08-05 21:04:22 -04:00
James Antill
86a1524632 updates-uptimes: Change time.now() to time.time(), py not golang.
Signed-off-by: James Antill <james@and.org>
2025-08-05 20:51:24 -04:00
0df178ffac dns: remove old iad2 zones from named.conf
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-05 14:49:10 -07:00
James Antill
0ca2bda184 vhost_update_reboot: Fix mass upgrade comment to allow for missing rkhunter.
Signed-off-by: James Antill <james@and.org>
2025-08-05 16:39:43 -04:00
James Antill
f252273413 updates-uptimes: Fix diff vs. older backups, also add mass upgrade comments.
Signed-off-by: James Antill <james@and.org>
2025-08-05 15:21:04 -04:00
James Antill
88e5301eac updates-uptimes: Fix typo on os name match.
Signed-off-by: James Antill <james@and.org>
2025-08-05 14:57:46 -04:00
James Antill
cd2ec90a5b playbooks/updates-uptimes: Add distro. to data and script to view data.
Signed-off-by: James Antill <james@and.org>
2025-08-05 14:49:18 -04:00
8b7b4a8368 robosignatory: also allow resigning f43 tagged packages with f44 key
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2025-08-05 16:43:49 +00:00
James Antill
12562ee0fc playbooks/updates-uptimes: Use now time, instead of fact time, for the fname.
Signed-off-by: James Antill <james@and.org>
2025-08-05 11:58:13 -04:00
d2ea821f2f redirect: fix neuro.fedoraproject.org trailing slash to fix the css break issue
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2025-08-05 16:14:27 +05:30
James Antill
e607b000bb playbooks/updates-uptimes: Gather facts to get correct uptime.
Signed-off-by: James Antill <james@and.org>
2025-08-04 17:34:34 -04:00
James Antill
c47512a866 Add playbook to generate a host:updates:uptime file on batcave.
Signed-off-by: James Antill <james@and.org>
2025-08-04 17:07:57 -04:00
5b12a47264 bump up numbers of reserved instances for copr builders 2025-08-04 13:34:03 +02:00
cbd9dbb563 Move from Python-based MDAPI to Go-based MetaSource
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
2025-08-04 08:33:08 +00:00
3d3cc7f868 flatpak-indexer: raise differ memory limit to 8Gi
This pod keeps getting OOMKilled while processing larger flatpak artifacts.
2025-08-01 08:45:15 +00:00
eb98c66f15
Adjust FMN timeouts to the new direct DB connection times
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-08-01 10:42:57 +02:00
16f753c5ac Whoops, drop stray openqa_tap12_workers reference
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-31 13:17:12 -07:00