diff options
author | Patrick Uiterwijk <puiterwijk@redhat.com> | 2016-11-23 14:50:11 +0000 |
---|---|---|
committer | Patrick Uiterwijk <puiterwijk@redhat.com> | 2016-11-23 14:50:11 +0000 |
commit | 940076e8d4de070f021ac99ba54f2aed0dadc907 (patch) | |
tree | 57df1175df0af4716d2b8dc64126481f7ffe1022 | |
parent | 338ed07bc1575add4115946f903f98685fffcad4 (diff) | |
download | ansible-940076e8d4de070f021ac99ba54f2aed0dadc907.tar.gz ansible-940076e8d4de070f021ac99ba54f2aed0dadc907.tar.xz ansible-940076e8d4de070f021ac99ba54f2aed0dadc907.zip |
Create a shared keytab for both backends
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
-rw-r--r-- | playbooks/groups/bodhi-backend.yml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/playbooks/groups/bodhi-backend.yml b/playbooks/groups/bodhi-backend.yml index 80ac8691c..b0e9f33e3 100644 --- a/playbooks/groups/bodhi-backend.yml +++ b/playbooks/groups/bodhi-backend.yml @@ -48,7 +48,17 @@ owner_user: apache owner_group: apache service: bodhi - host: "{{inventory_hostname}}" + # We use a fake name here so that we can share the same name between both backends + host: "bodhi-backend.phx2.fedoraproject.org" + when: env == "production" + - role: keytab/service + owner_user: apache + owner_group: apache + service: bodhi + # We use a fake name here so that we can share the same name between both backends + host: "bodhi-backend.stg.phx2.fedoraproject.org" + when: env == "staging" + - bodhi2/backend - fedmsg/base - role: collectd/fedmsg-service |