Bodhi frontends also need access to koji, so give them keytabs too

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-11-23 15:05:51 +00:00
parent 5393398816
commit 29ecff4c36
2 changed files with 14 additions and 2 deletions

View file

@ -48,14 +48,12 @@
owner_user: apache
owner_group: apache
service: bodhi
# We use a generic name here so that we can share the same name between both backends
host: "bodhi.fedoraproject.org"
when: env == "production"
- role: keytab/service
owner_user: apache
owner_group: apache
service: bodhi
# We use a generic name here so that we can share the same name between both backends
host: "bodhi.stg.fedoraproject.org"
when: env == "staging"

View file

@ -23,6 +23,20 @@
when: env != "staging" }
- apache
- mod_wsgi
- role: keytab/service
owner_user: apache
owner_group: apache
service: bodhi
host: "bodhi.fedoraproject.org"
when: env == "production"
- role: keytab/service
owner_user: apache
owner_group: apache
service: bodhi
host: "bodhi.stg.fedoraproject.org"
when: env == "staging"
- { role: bodhi2/base, when: "inventory_hostname.startswith('bodhi0')" }
- { role: fedmsg/base, when: "inventory_hostname.startswith('bodhi0')" }