mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 23:13:28 +08:00
In ansible 2.8 the - character isn't supposed to be valid in group names. While we could override this, might has well just bite the bullet and change it. So, just switch all group names to use _ instead of - Signed-off-by: Kevin Fenzi <kevin@scrye.com>
62 lines
1.9 KiB
Plaintext
62 lines
1.9 KiB
Plaintext
---
|
|
lvm_size: 20000
|
|
mem_size: 16384
|
|
num_cpus: 2
|
|
freezes: false
|
|
|
|
# for systems that do not match the above - specify the same parameter in
|
|
# the host_vars/$hostname file
|
|
|
|
tcp_ports: [ 3000, 3001, 3002, 3003,
|
|
3004, 3005, 3006, 3007 ]
|
|
|
|
fas_client_groups: sysadmin-noc,sysadmin-badges,sysadmin-veteran
|
|
|
|
# These people get told when something goes wrong.
|
|
fedmsg_error_recipients:
|
|
- sysadmin-badges-members@fedoraproject.org
|
|
|
|
fedmsg_hub_auto_restart: True
|
|
fedmsg_hub_memory_limit_mb: "{{ (mem_size / 2) | int }}"
|
|
|
|
# These are consumed by a task in roles/fedmsg/base/main.yml
|
|
fedmsg_certs:
|
|
- service: shell
|
|
owner: root
|
|
group: sysadmin
|
|
can_send:
|
|
- logger.log
|
|
- service: fedbadges
|
|
owner: root
|
|
group: fedmsg
|
|
can_send:
|
|
- fedbadges.badge.award
|
|
- fedbadges.person.rank.advance
|
|
|
|
|
|
# For the MOTD
|
|
csi_security_category: Low
|
|
csi_primary_contact: Badges admins - sysadmin-badges-members@fedoraproject.org
|
|
csi_purpose: Run fedmsg-hub with the fedbadges plugin to award badges (+ some crons)
|
|
csi_relationship: |
|
|
fedbadges integrates many different services..
|
|
|
|
* The fedbadges fedmsg-hub plugin relies on:
|
|
* the fedmsg bus, to deliver messages
|
|
* pkgdb, for queries about who owns what packages
|
|
* fas, to lookup what irc nick corresponds to what fas user.
|
|
* db-datanommer for the fedmsg history
|
|
* db01, for storing badge awards
|
|
|
|
* badges-web01 will be expecting to display badges entered into the tahrir
|
|
db on db01. So, if badges stop showing up there, the problem is likely
|
|
here.
|
|
|
|
* Locally, of note there exists:
|
|
* a git repo of badge rules and images to be synced here by ansible
|
|
to /usr/share/badges/
|
|
* a local file cache in /var/tmp/fedbadges-cache.dbm (not memcached, atm)
|
|
* Furthermore, there are a ton of cronjobs for awarding badges in
|
|
/usr/share/badges/cronjobs/ that depends on all sorts of third parties
|
|
(flickr, google+, libravatar, etc..).
|