Commit Graph

74 Commits

Author SHA1 Message Date
Kevin Fenzi
70c633121e Add bodhi-backend01.stg and adjust value01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-09 16:00:08 -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
Aurélien Bompard
d884a0f8ba Use the combined RabbitMQ CA cert in the clients
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-04-11 15:15:45 +02:00
Michal Konecny
6b0a66cb37 [fedora-messaging] Adding topic_prefix back
Removing the topic_prefix from fedora messaging config files was a bit
premature. So let's put them back in place.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-14 12:40:12 +01:00
Michal Konecny
6428f8f772 Sunset github2fedmsg and fedmsg
This commit is removing all the fedmsg related stuff from ansible
repository.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-13 10:08:51 +00:00
Michal Konecny
2ec055db6f Use first uppercase letter for all handlers
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.

I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```

Then I went through all the changes and removed the ones that wasn't
expected to be changed.

Fixes https://pagure.io/fedora-infrastructure/issue/12391

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-10 20:31:49 +00:00
Ryan Lerch
47c68f478d ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
Replaces references to template: with ansible.builtin.template

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:30:29 +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
462176464b ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
Replaces many references to  command: with ansible.builtin.command

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +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
Ryan Lerch
62952df107 ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
Replaces many references to  file: with ansible.builtin.file

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:41:52 +10:00
Ryan Lerch
691adee6ee Fix name[casing] ansible-lint issues
fix 1900 failures of the following case issue:

`name[casing]: All names should start with an uppercase letter.`

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +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
Ryan Lerch
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Kevin Fenzi
5459a54ddf meetbot-raw: set seboolean to allow serving meeting logs
We used to do this on value01, but when moving to value02 we need this
selinux boolean to allow httpd to read and serve the /srv nfs meeting
logs.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-27 10:01:36 -08:00
Kevin Fenzi
3808d867de value01/value01.stg: retire
These are old rhel7 instances. The only thing left on them is fedmsg-irc
(sending to one irc channel, fedora-releng). Move everything to use the
newer rhel8 value02 instead.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-15 12:13:38 -08: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
Francois Andrieu
7a88a6fb62 values: run meetbot cronjobs only on value01 2022-04-03 17:46:39 +00:00
Kevin Fenzi
0613b885ec value: only run archive script on value01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-03-21 14:31:50 -07:00
Ryan Lerch
e16b76aa31 zodbot: use the correct fedora messaging config
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-09-17 20:02:49 +10:00
Ryan Lerch
71f488c344 zodbot: enable fedora messaging on prod
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-09-17 19:09:45 +10:00
Aurélien Bompard
655032dc4e Maybe it does not like the fact
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-16 10:21:04 +02:00
Aurélien Bompard
531072c173 Maybe try include instead of import
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-16 10:16:14 +02:00
Aurélien Bompard
29d734bb24 Fix syntax
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-16 10:12:48 +02:00
Aurélien Bompard
74057f6ae5 Zodbot: create the right username in rabbitmq
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-16 10:10:52 +02:00
Kevin Fenzi
a64b1e8e4f value: make sure to only start zodbot on value02 now
We moved zodbot from value01 (rhel7/python2) to value02 (rhel8/python3).
Without this it starts zodbot on 2 hosts and caused problems.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-25 16:04:53 -07:00
Ryan Lerch
9a32ce7912 ursabot: create pki/fedora-messaging directory
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-08-23 19:52:20 +10:00
Ryan Lerch
6b43caff64 set fedora-messaging certs for ursabot
Just doing this for staging right now, to check it works as expected

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-08-23 19:39:22 +10:00
Kevin Fenzi
bfb32a9dfb zodbot: add env vars for fasjson
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-19 16:23:27 -07:00
Kevin Fenzi
00e37bd2f2 value: only install meeting to team linking script on value01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-18 13:44:05 -07:00
Kevin Fenzi
f9b76c707e value: Adjust playbook for installing value02 in prod
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-17 12:25:05 -07:00
Ryan Lerch
1893bac187 value02: set up keytab correctly
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-07-05 18:32:07 +10:00
Ryan Lerch
1d243839a1 value02: make ursabot use stg fedora messaging config
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-07-02 10:52:29 +10:00
Ryan Lerch
e52a69042c value02.stg: update packages installed
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-06-08 09:57:07 +10:00
Rick Elrod
7bb8ee6fef Fix bugs due to no variable-quoting in meetbot scripts, and fix shellcheck warnings on them
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-06-14 01:44:35 -05:00
Pierre-Yves Chibon
8a432d355d Make the meetbot SAR script more resilient
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-22 10:43:01 +02:00
Kevin Fenzi
5c2d50a2af syntax fix 2018-05-18 04:16:15 +00:00
Pierre-Yves Chibon
64b94acd97 Add meetbot SAR script
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-17 12:24:40 +02:00
Patrick Uiterwijk
936e8b261a yum accepted pkg=, package calls it name=
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-09 00:38:26 +02:00
Patrick Uiterwijk
adcbf72f03 Packageize this, packageize that, packageize the world
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 22:25:52 +00:00
Kevin Fenzi
b1a2d105c9 In ansible 2.2 always_run is depreciated. Switch to check_mode. 2016-11-01 16:29:49 +00:00
Kevin Fenzi
a4b7517300 Do not send output of archive job in cron email, there's too much junk. 2016-09-01 02:32:20 +00:00
Kevin Fenzi
5dbcf34c0c Add meetbot archives for ticket 5375. Thanks marc84 2016-08-31 21:03:18 +00:00
Kevin Fenzi
9e3d04e42e Try this to clean up issue 2016-06-27 20:46:59 +00:00
Kevin Fenzi
577ac26853 Ordering issue? 2016-06-27 20:40:40 +00:00
Kevin Fenzi
0a705cc2f3 Add systemd service files for the supybots, switch prod to limnoria 2016-06-27 20:27:11 +00:00
Kevin Fenzi
25efc74423 Setup stg ursabot to use limnoria 2016-06-11 22:10:07 +00:00
Michael Scherer
5e4e15ad07 Refactor (again) the code deploying zodbot/ursabot
Since there is the same code between staging and production, except
for the bot name, using a variable permit to avoid duplication.

(this time, it work)
2016-04-09 13:10:09 +00:00