Commit Graph

36 Commits

Author SHA1 Message Date
Michal Konecny
7ff5ac563e [mailman3] Remove the authentication options 2
Remove the authentication options also from group vars.
2025-07-14 15:41:49 +02:00
Michal Konecny
0328532987 [mailman3] Remove IAD2
There are a lot of things still pointing to IAD2, let's redirect them to RDU3.
2025-06-30 20:27:53 +02:00
Michal Konecny
a807fb3d4f [mailman3] Create gunicorn configuration file
To make changing the gunicorn configuration more easily let's move
configuration values from systemd service to separate configuration
file.

The file will live in /etc/mailman3/gunicorn.conf.py.
2025-03-27 13:01:13 +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
14ee2219b6 [mailman3] Move the staging/prod vars to respective group_vars
This will make the mailman playbook much cleaner. Thanks @arrfab for the idea.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-04 10:11:05 +02:00
Michal Konecny
517d9b1426 [mailman3] Update the vars
Add the missing Fedora authenticator for OIDC and remove the 16Gb memory limit
as it's set in group_vars.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 17:30:20 +02:00
Kevin Fenzi
d663085efe mailman: increase size of mailman01 disk
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-02-07 18:15:13 -08:00
Kevin Fenzi
580cd252c5 Inventory group/host variables: Sort yaml
This was done using yq (
https://mikefarah.gitbook.io/yq/operators/sort-keys )

Doing things this way makes it much easier to see if a variable is set
in a file or if two hosts differ in what variables they set. Hopefully
we can keep things sorted moving forward.

Basically this means just sort a-z anything you add to any host or group
vaiable and it will be in the right place.

Additionally, this enforces 'normal' intent rules for all the variable
files which we should also try and obey. 2 spaces for first level, 3 for
next, etc. When in doubt you can run yq on it.

This should cause NO actual vairable changes, it's all just readability
fixing for humans, ansible parses it exactly the same.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-16 13:27:57 -08:00
Nils Philippsen
3fd14610c6 ipa/client: enable for mailman in prod
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 13:44:33 +01:00
Nils Philippsen
dbbf94a411 ipa/client: configure global shell access and sudo
Almost global anyway, i.e. inside the VPN.

The ipa/client-based shell access and sudo rules are only effective for
staging right now, the respective playbook bits are masked out for prod.

- Assign Ansible host groups to IPA host groups, the latter don't care
  about 'stg' in the name and use dashes rather than underscores.
- Distill shell access groups from fas_client_groups in group and host
  vars.
- Let all `sysadmin-*` groups in the previous list run anything via sudo
  in the host group (except bastion & batcave).
- Remove `fas_client_groups` from staging host and group vars.
- Remove sudoers from staging host and group vars if only `sysadmin-*`
  groups have shell access.
- Set up `ipa_client_shell_groups` on bastion to be a super set of the
  same on batcave.

Newly created IPA host groups:
- autosign
- badges
- basset
- bastion
- batcave
- blockerbugs
- bodhi
- bugzilla2fedmsg
- busgateway
- datagrepper
- dbserver
- dns
- fedimg
- github2fedmsg
- ipa
- kernel-qa
- kerneltest
- kojibuilder
- kojihub
- kojipkgs
- logging
- mailman
- memcached
- mirrormanager
- nagios
- notifs
- oci-registry
- odcs
- openqa
- openqa-workers
- osbs
- packages
- pdc-web
- pkgs
- proxies
- rabbitmq
- releng-compose
- resultsdb
- secondary
- sign-bridge
- sundries
- value
- wiki

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-02-01 22:23:41 +00:00
Pierre-Yves Chibon
db1a1bb8e6 mailman: point to the db in iad2 from now on
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-11 17:08:12 +02:00
Stephen Smoogen
7a5297cd56 mailman for iad2 2020-06-10 13:06:25 -04:00
Kevin Fenzi
a58c8b9934 mailman: revert last change and add deployment_type, which was the actual error
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:16 +02:00
Kevin Fenzi
546b209246 mailman: Add username for fedora messaging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:16 +02:00
Aurélien Bompard
b11f063508 Mailman: first step in adding lists.pagure.io 2018-06-15 14:51:19 +00:00
Kevin Fenzi
65e4e081e8 add a missing nrpe: true 2017-09-09 19:29:06 +00:00
Kevin Fenzi
8b5a273b10 try and teach nagios about hosts we want to monitor swap on and ones we do not want to 2017-09-09 19:11:06 +00:00
Aurélien Bompard
e9d3f13c52 Mailman: fix login variable names 2016-09-08 07:10:07 +00:00
Aurélien Bompard
7f27054e60 Big Mailman update 2016-09-08 06:27:00 +00:00
Kevin Fenzi
a7aeaa0378 Up some nagios checks for mailman01 2016-05-18 18:42:20 +00:00
Ralph Bean
47dfa809d5 Explicitly list all certs that can send the logger.log fedmsg message. 2015-12-03 19:30:08 +00:00
Ralph Bean
2cda638026 Give mailman3 more fedmsg endpoints. 2015-11-19 14:40:33 +00:00
Aurélien Bompard
5b5c83d4de Update the Mailman role after addition of fedorahosted 2015-08-21 10:43:32 +00:00
Kevin Fenzi
75d8024cf7 More resources for mailman01 now that it's in prod 2015-08-20 17:16:52 +00:00
Ralph Bean
385db6cec1 Declare who can send what mailman3 fedmsg stuff. 2015-06-12 19:50:45 +00:00
Aurélien Bompard
c9395f3872 Fix HyperKitty's URL 2014-10-17 09:12:08 +00:00
Kevin Fenzi
cb3a2bee6e Setup check mail queue to handle machines that may have high queues 2014-10-09 20:18:10 +00:00
Aurélien Bompard
444c0c8f62 Try to solve the conflict between role vars and global vars 2014-09-18 08:46:08 +00:00
Ralph Bean
473ce2c403 Also, open ports for fedmsg on the mailman boxes. 2014-07-23 16:41:37 +00:00
Aurélien Bompard
5d57028fd6 Set the postfix group for mailman servers 2014-07-21 17:52:39 +00:00
Kevin Fenzi
6fb0f86d59 Reinstall mailman prod instances as rhel7. 2014-06-24 21:12:14 +00:00
Ralph Bean
edbc9b21cf Renamespace the fedmsg module. 2014-03-14 15:47:11 +00:00
Aurélien Bompard
159115f3d3 Mailman: the DB server is different in stg and prod 2014-02-03 11:11:21 +00:00
Kevin Fenzi
e5aad94914 Add mailman01/02 to production. 2014-01-20 19:01:12 +00:00
Kevin Fenzi
38c1cb6f81 Fix group name 2013-08-13 02:43:03 +00:00
Kevin Fenzi
3a0857fdd8 Add mailman01.stg 2013-08-12 21:17:21 +00:00