Move koji stg to auto-generated keytabs

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-12-08 19:06:05 +00:00
parent 29aebf2427
commit 72e0942e30
2 changed files with 8 additions and 0 deletions

View file

@ -31,6 +31,13 @@
- apache
- fedmsg/base
- koji_hub
- role: keytab/service
owner_user: apache
owner_group: apache
kt_location: /etc/koji-hub/koji-hub.keytab
service: host
host: "koji.stg.fedoraproject.org"
when: env == "staging"
- { role: nfs/server, when: env == "staging" }
- { role: keepalived, when: env == "production" and inventory_hostname.startswith('koji') }
- role: nfs/client

View file

@ -85,6 +85,7 @@
- name: install koji-hub keytab
copy: src={{ private }}/files/keytabs/{{ env }}/koji-hub dest=/etc/koji-hub/koji-hub.keytab
owner=apache group=apache mode=0600
when: env != "staging"
notify:
- reload httpd
tags: