Deploy Bodhi3 config to production

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2017-10-24 16:16:50 +02:00
parent e1429ff6d4
commit 494a309ed0
2 changed files with 7 additions and 28 deletions

View file

@ -20,23 +20,14 @@
- fedmsg-hub - fedmsg-hub
- fedmsg-relay - fedmsg-relay
- python-mock - python-mock
- python2-fedmsg-atomic-composer
- sigul - sigul
- python-alembic - python-alembic
- python-scandir - python-scandir
- python2-productmd - python2-productmd
- compose-utils - compose-utils
- python-fedmsg-meta-fedora-infrastructure - python-fedmsg-meta-fedora-infrastructure
tags:
- packages
- bodhi
- name: Install pungi (staging)
package: name={{item}} state=present
with_items:
- pungi - pungi
- pungi-utils - pungi-utils
when: env == "staging"
tags: tags:
- packages - packages
- bodhi - bodhi

View file

@ -113,25 +113,13 @@ releng_fedmsg_certname = shell-bodhi-backend03.phx2.fedoraproject.org
# will act as a masher as well. # will act as a masher as well.
#masher = None #masher = None
# Where to initially mash repositories mash_dir = /mnt/koji/compose/updates/
#mash_dir = /var/cache/bodhi/mashing mash_stage_dir = /mnt/koji/compose/updates/
{% if ansible_hostname == 'bodhi-backend01' %} pungi.basepath = /etc/bodhi
mash_dir = /mnt/koji/mash/updates pungi.conf.rpm = pungi.rpm.conf.j2
{% else %} pungi.conf.module = pungi.module.conf.j2
# mash_dir = pungi.labeltype = Update
{% endif %} pungi.extracmdline = --notification-script=/usr/bin/pungi-fedmsg-notification
# Where to symlink the latest repos by their tag name
#mash_stage_dir = /var/cache/bodhi/mashed
{% if ansible_hostname == 'bodhi-backend01' %}
mash_stage_dir = /mnt/koji/mash/updates
{% else %}
# mash_stage_dir =
{% endif %}
mash_conf = /etc/bodhi/mash.conf
createrepo_cache_dir = /var/cache/createrepo
## Our periodic jobs ## Our periodic jobs
#jobs = clean_repo nagmail fix_bug_titles cache_release_data approve_testing_updates #jobs = clean_repo nagmail fix_bug_titles cache_release_data approve_testing_updates