Commit Graph

77 Commits

Author SHA1 Message Date
James Antill
03865d03b3 batcave: Move from mirror_pagure_ansible to mirror_forge_ansible.
Signed-off-by: James Antill <james@and.org>
2026-02-16 18:17:13 -05:00
Greg Sutcliffe
e23a23f55a Zabbix: add agent to more hosts
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-08-20 12:22:09 +01:00
Aurélien Bompard
ea26e54ca0 Drop the mirror_pagure_ansible_13 rabbitmq queue
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-04 18:40:04 +02: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
76bda7e176 New kickstarts role
Move kickstarts into ansible from the side repo they were in before.
Hopefully this will make it easier for people to contibute to them
and see what they are. All sensitive info here should be templated
out from the private repo.

note that before we merge/run this, we need to move the old repo
out of the way in the location we are syncing to.
We can gradually move other kickstarts out of the old repo into this
role as we need them to build rdu3 out.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-28 21:57:12 +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
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
Aurélien Bompard
b4462755f0 Prefix variables in rabbit/queue
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 11:58:18 +01:00
Aurélien Bompard
b37685848f Prefix sent_topics where appropriate
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 11:39:54 +01: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
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
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
24c7194f1a Split off some rabbitmq vhosts
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-07-05 09:29:29 +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
Aurélien Bompard
15982bb9ae Add topic permissions for more apps
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-06-23 18:40:35 +02:00
Aurélien Bompard
ff81d44d24 Don't use a variable before we load variables
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-05-05 11:56:45 +02:00
Kevin Fenzi
d0dc61ae47 batcave: adjust playbook to avoid import_playbook deprecating passing vars directly
Hopefully this will fix:
[DEPRECATION WARNING]: Additional parameters in import_playbook statements are deprecated. Use       'vars' instead. See 'import_playbook' documentation for examples. This feature will be removed in    version 2.14. Deprecation warnings can be disabled by setting deprecation_warnings=False in          ansible.cfg.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-04-04 15:54:07 -07:00
Kevin Fenzi
7da7d72b5f batcave: drop cgit everywhere.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-05 16:45:32 -07:00
Nils Philippsen
2d4ec8d259 Apply openvpn/client role before ipa/client
This is so hosts on the Fedora VPN are able to talk to IPA before they
try to enroll.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 18:19:11 +01: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
Mark O'Brien
fdcd55c176 add ipa/client role to the rest of the playbookd for staging 2021-02-12 14:22:40 +00:00
Pierre-Yves Chibon
3a7fa049d9 batcave: Fix the two git hooks run in the ansible git repo in the batcave
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-10 21:33:27 +02:00
Kevin Fenzi
387f895e2e iad2: adjust batcave01.iad2 to be the only one
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-08 10:33:56 -07:00
Kevin Fenzi
e90ccc11cf iad2 move: more rabbitmq adjustments
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-08 07:49:28 -07:00
Kevin Fenzi
732971200e iad2: batcave: connect openvpn to phx2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-04 12:56:12 -07:00
Stephen Smoogen
7c62c814c7 this should allow batcave01.iad2 to have grobisplitter items but not try to run grobisplitter 2020-05-30 17:21:52 -04:00
Kevin Fenzi
248b798813 nfs/client and batcave: adjust nfs/client playbook to work hopefully in iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 12:16:08 -07:00
Pierre-Yves Chibon
a21b274209 Batcave: add support for fedora-messaging
Install the certificates needed to connect to fedora-messaging
Install a configuration file applications can use to send messages
to the message bus using fedora-messaging.
Create the batcave user in rabbitmq

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-15 12:57:54 +00:00
Pierre-Yves Chibon
3d647a885e mirror_pagure_ansible: adjust the queues so that batcave in iad2 has its own queue
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-12 18:09:25 +02:00
Kevin Fenzi
e6a190287a iad2: batcave01.iad: no vpn for now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 17:09:33 -07:00
Kevin Fenzi
b20a76f5ba iad2: a few more services we do not want on batcave01.iad2 yet
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 16:31:00 -07:00
Kevin Fenzi
cd327147a8 iad2: add a batcave01 in iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 15:49:27 -07:00
Pierre-Yves Chibon
2b72de8e86 mirror_pagure_ansible: Use different queues for batcave01 and batcave13
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-01 14:51:56 +02:00
Pierre-Yves Chibon
3d0b04feb5 batcave: adjust the way the mirror_pagure_ansible role is called
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-30 21:20:54 +02:00
Pierre-Yves Chibon
051592f1cd batcave: add the mirror_pagure_ansible to the playbook
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-30 21:17:23 +02:00
Pierre-Yves Chibon
93cf23a2ae mirror_pagure_ansible: Add a role for this service
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-30 19:15:42 +00:00
Kevin Fenzi
7ff66cd3ec ansible repospanner: drop from batcave01/pagure01, it's flooding logs and not being used currently.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +02:00
Kevin Fenzi
80d8694583 ansible: fix -- mistake for import_playbook
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 18:23:42 +00:00
Kevin Fenzi
2d1cf41c9f ansible: fix the virt-create calls
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 18:19:27 +00:00
Stephen Smoogen
4d9f322a13 [repospanner] When defining ports please use the variables in global.yml to make sure that all the files get edited during a playrun versus just one or two. Thank you. 2019-04-12 14:22:24 +00:00
Kevin Fenzi
e88f922fac repospanner: fix missing , in role args.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-04 18:55:03 +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
196531940c Revert "batcave01/pagure01: drop old repospanner cluster from these machines."
This reverts commit 5e43af4df7.

We just want to go back to this cluster setup now that more parts are in place.
2019-04-04 18:23:26 +00:00
Kevin Fenzi
5e43af4df7 batcave01/pagure01: drop old repospanner cluster from these machines.
We are going to use a new cluster with different machines now.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-03-28 16:05:46 +00:00
Kevin Fenzi
1397f971c8 fqdn 2018-11-21 22:52:47 +00:00
Kevin Fenzi
30cce76d08 missing quote 2018-11-21 22:36:53 +00:00
Kevin Fenzi
bd438ca6af reformat 2018-11-21 22:35:50 +00:00