Add custom krb5.conf file for simple-koji-ci
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
669481887e
commit
f239c0f263
2 changed files with 36 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- { file: simple_koji_ci.py, location: /etc/fedmsg.d }
|
- { file: simple_koji_ci.py, location: /etc/fedmsg.d }
|
||||||
- { file: endpoints.py, location: /etc/fedmsg.d }
|
- { file: endpoints.py, location: /etc/fedmsg.d }
|
||||||
|
- { file: krb5.conf, location: /etc/ }
|
||||||
changed_when: "1 != 1"
|
changed_when: "1 != 1"
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
35
roles/simple-koji-ci/templates/krb5.conf
Normal file
35
roles/simple-koji-ci/templates/krb5.conf
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[logging]
|
||||||
|
default = FILE:/var/log/krb5libs.log
|
||||||
|
kdc = FILE:/var/log/krb5kdc.log
|
||||||
|
admin_server = FILE:/var/log/kadmind.log
|
||||||
|
|
||||||
|
[libdefaults]
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
default_realm = STG.FEDORAPROJECT.ORG
|
||||||
|
{% else %}
|
||||||
|
default_realm = FEDORAPROJECT.ORG
|
||||||
|
{% endif %}
|
||||||
|
rdns = false
|
||||||
|
dns_canonicalize_hostname = false
|
||||||
|
dns_lookup_realm = false
|
||||||
|
dns_lookup_kdc = false
|
||||||
|
ticket_lifetime = 24h
|
||||||
|
renew_lifetime = 7d
|
||||||
|
forwardable = true
|
||||||
|
|
||||||
|
[realms]
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
STG.FEDORAPROJECT.ORG = {
|
||||||
|
kdc = https://id.stg.fedoraproject.org/KdcProxy
|
||||||
|
}
|
||||||
|
{% else %}
|
||||||
|
FEDORAPROJECT.ORG = {
|
||||||
|
kdc = https://id.fedoraproject.org/KdcProxy
|
||||||
|
}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
[domain_realm]
|
||||||
|
.fedoraproject.org = FEDORAPROJECT.ORG
|
||||||
|
fedoraproject.org = FEDORAPROJECT.ORG
|
||||||
|
.stg.fedoraproject.org = STG.FEDORAPROJECT.ORG
|
||||||
|
stg.fedoraproject.org = STG.FEDORAPROJECT.ORG
|
Loading…
Add table
Add a link
Reference in a new issue