Commit Graph

157 Commits

Author SHA1 Message Date
Greg Sutcliffe
1e8dcc979e Zabbix: playbook cleanup
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-07-30 14:38:19 +01:00
Kevin Fenzi
0e2ee2ead0 releng-compose: install fedpkg for scripts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-23 17:38:27 -07:00
Kevin Fenzi
cb3d019169 compose-eln: also need the /pub mount here
We need this mount to sync eln composes out.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-06 08:06:33 -07:00
Greg Sutcliffe
08d3f43ab1 Zabbix: disable templates for now, revisit after DC move completed
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-07-04 16:16:34 +01:00
Adam Williamson
3fc124f048 Fix rabbitmq 'pungi' user creation on prod
I think @kevin inadvertently broke this in
f0663ae52f - he mixed up the names
of environments ('production' / 'staging') and Koji instances
('primary' / 'secondary'), just in this one case (it's correct
everywhere else). This is causing the pungi user not to be
created, and that means compose hosts can't publish messages.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-03 23:43:05 -07: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
401d40c098 compose-x86-riscv: adjust some nfs client logic
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-17 16:01:55 -08:00
Kevin Fenzi
3a2574b495 releng-compose: no ftp mount on compose-x86-riscv01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-17 14:52:38 -08:00
Kevin Fenzi
f0663ae52f compose-riscv01: add a secondary x86 compose host for riscv
This vm will hopefully allow for composing images, repos, etc

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-17 13:56:23 -08: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
Ryan Lerch
dbdb0d9824 Fix the final 50ish casing linting errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-22 07:30:55 +10:00
Ryan Lerch
25391e95b7 ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10:00
Ryan Lerch
6a3816dfdc ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
Replaces many references to 'copy' with ansible.builtin.copy

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:43:31 +10:00
Aurélien Bompard
d23b6f2d9b s/user_username/user_name/g
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 11:12:47 +01:00
Ryan Lerch
4a4e7e07cb [ansible-lint] prefix variable names for rabbit/user role
ansible-lint requires that variables for roles are prefixed with the
name of the role. This commit prefixes the variables for the
rabbit/user role with user_ as required by ansible-lint

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-12-03 10:48:45 +01:00
Adam Williamson
91267d4d49 Templatize branched nightly cron
Instead of doing this by hand at branch and final release, let's
make it a template.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-27 10:08:06 -08:00
Adam Williamson
71c9eab3d0 Make the stable nightly compose crons into templates
This means we don't need to manually update the release numbers
at stable release and EOL times any more, only make sure the
relevant playbook is run.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-27 10:06:08 -08:00
Ryan Lerch
2cf38c1f17 [yaml-lint] fix yamllint errors and warnings on plabooks
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-25 19:04:25 +10:00
Kevin Fenzi
7a10d32e16 compose-eln01: fix nfs mounts that are needed here
We need to have koji and ftp mounts here in order to compose and sync
out data.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-24 09:11:14 -07:00
Kevin Fenzi
08cb6c89ba compose-eln: move to another group to have different ipa access
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-17 17:03:39 -07:00
David Kirwan
efa7047d3b zabbix: remove set_facts, add vars to each api call
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-02-20 16:43:51 +00:00
David Kirwan
725498464f zabbix: remove zabbix_template role from releng_compose
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-02-20 16:36:23 +00:00
David Kirwan
02565b933e zabbix: update releng compose cronjob template
re-enable zabbix/zabbix_template role on releng_compose

Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-02-15 04:02:33 +00:00
David Kirwan
0416ac22d5 zabbix: enable zabbix_templates role on releng_compose_stg only
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-02-13 14:49:55 +00:00
David Kirwan
1300428243 zabbix: disable zabbix_templates role releng_compose
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-02-13 14:16:39 +00:00
David Kirwan
ec7bdacff2 zabbix: add zabbix_templates role
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-02-12 13:45:03 +00:00
Kevin Fenzi
ff6fb2bc6c koji: add fedora_koji_archive06 volume
We need a new archive volume, so add 06 to all the same places 01-05
are.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-02-10 09:57:33 -08:00
David Kirwan
5ad386ed6f zabbix: Enable zabbix agent on prod hosts
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-01-03 14:31:12 +00:00
Patrik Polakovič
7905b8295a Zabbix agent for releng hosts
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2023-11-22 10:30:41 +00:00
David Kirwan
8eaf1307a2 zabbix: yamllint fix
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2023-08-28 10:48:49 +01:00
David Kirwan
b8bc5ae3b1 zabbix: add zabbix agent to group/releng-compose playbook
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2023-08-28 10:09:52 +01:00
Andrew Heath
a961a5ed7d updating playbooks to work with ansible 2.14 2023-05-18 15:28:34 -04:00
Aurélien Bompard
e38f39b2dd Fix topic regexp for logger
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-07-07 09:17:51 +02:00
Aurélien Bompard
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
Aurélien Bompard
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
Kevin Fenzi
55b62afe3f releng: move releng role before nfs mounts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-08 10:40:53 -07:00
Kevin Fenzi
0925f3fa13 releng-compose: adjust staging ostree mounts to be ro
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-09 17:20:03 -08:00
Kevin Fenzi
5c4eda4f86 releng-compose: fix path to ostree mounts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-09 16:52:40 -08:00
Kevin Fenzi
c7db1eae55 releng-compose: add mount_stg to allow staging mounting
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-09 16:34:35 -08:00
Kevin Fenzi
00523bee21 releng-compose: reorg logic and fix staging ostree mounts
Move all the prod and stg mounts into the same areas and fix the
conditional to not be negative and fix the ostree mounts to mount in the
right place in staging.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-09 16:21:27 -08:00
Clement Verna
805599baeb remove unused code
Signed-off-by: Clement Verna <cverna@tutanota.com>
2021-08-11 08:56:09 +00:00
Clement Verna
f07efbe77b Add buildah to the releng composers.
This commit adds the buildah package to the releng
composer machines so that we can use it to generate the
manifest lists.

See Releng PR: https://pagure.io/releng/pull-request/10249.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2021-08-11 08:56:09 +00:00
Kevin Fenzi
6ac5a89b14 playbooks / fedmsg: drop fedmsg/base from pkgs and releng-compose
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-17 12:30:42 -07:00
Kevin Fenzi
cb4524e34f releng-compose / compose-rawhide: add mount for ftp archive volume
We are going to sync the contents from fedora_ftp/pub/archive over to
fedora_ftp_archive volume. This will free up 17TB or so on the SSD
aggregate that fedora_ftp is on.

This will mean more mirror churn when we archive old releases, but
there's not much else we can do besides this or more ssd storage.

This is ok to do during freeze as compose-rawhide is not frozen. :)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-07 12:43:18 -07:00
Francois Andrieu
f8c683ffa8 cleanup: use iad2 composer 2021-03-29 22:48:10 +00:00
Nils Philippsen
e3ee5d6da8 ipa/client: enable for releng_compose in prod
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 13:44:33 +01:00
Mark O'Brien
fdcd55c176 add ipa/client role to the rest of the playbookd for staging 2021-02-12 14:22:40 +00:00
Nils Philippsen
d6cdeb7aea Consistency: releng_stg -> releng_compose_stg
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-02-01 22:23:41 +00:00
Kevin Fenzi
6298c37297 Add compose-x86-01.stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-15 13:37:26 -07:00
Kevin Fenzi
882d31edae loopabull: farewell loopabull, you served us well.
Loopabull is being replaced by toddlers in openshift.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-07-09 16:51:46 -07:00