997f44
# MBS
997f44
997f44
MBS is deployed in centos stream by the following components: 
997f44
997f44
* Ansible Fedmsg Role
997f44
* Ansible MBS Role
997f44
997f44
Note: MBS depends on Fedmsg  as a bridge to fedora-messaging.
997f44
997f44
## Ansible Fedmsg Role
997f44
997f44
Repository: https://github.com/CentOS/ansible-role-fedmsg
997f44
997f44
### Dependencies
997f44
997f44
None
997f44
997f44
### Description
997f44
997f44
This role installs fedmsg in a host with zeromq enabled.
997f44
997f44
We need zeromq enabled since that's what is used to bridge fedmsg to fedora-messaging.
997f44
997f44
It is currently deployed in the same host used by MBS.
997f44
997f44
## Ansible MBS Role
997f44
997f44
Repository: https://github.com/CentOS/ansible-role-mbs
997f44
997f44
997f44
### Dependencies
997f44
997f44
* https://github.com/CentOS/ansible-role-fedmsg
997f44
* https://github.com/CentOS/ansible-role-httpd
997f44
* https://github.com/CentOS/ansible-role-postgresql
997f44
997f44
### Description
997f44
997f44
This role installs both mbs-frontend and mbs-backend.
997f44
997f44
Including the role without specifying a task file will install everything in the same host
997f44
but you can select to install either one by including a specific task file: https://github.com/CentOS/ansible-role-mbs/tree/staging/tasks - keep in mind you may also need to select `system.yml` if doing so.
997f44
997f44
MBS Frontend requirements:
997f44
997f44
* kerberos keytabfile for httpd POST authentication (GET requests are authless).
997f44
* HTTPD CA, certificate and key files;
997f44
997f44
MBS Backend requirements:
997f44
997f44
* keytab file for koji authentication
997f44
997f44
Fedmsg usage:
997f44
997f44
* Bridges fedora-messaging messages to MBS;
997f44
* communication between mbs-frontend to mbs-backend;
997f44
* listen to messages sent by fedora-messaging;
997f44
* koji updates will be sent to fedora-messaging which will be consumed by a mbs consumer and trigger workers accordingly.
997f44
997f44
You can see messages sent to fedmsg by running `fedmsg-tail` or `fedmsg-tail --include org.centos.prod.buildsys`.