mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 02:46:20 +08:00
riscv-koji: setup correct krb5.conf for the hub
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -17,12 +17,8 @@ includedir /etc/krb5.conf.d/
|
||||
|
||||
[realms]
|
||||
{{ ipa_realm }} = {
|
||||
{% if ansible_distribution_major_version|default(0)|int == 6 and ansible_distribution == "RedHat" %}
|
||||
kdc = {{ ipa_server }}
|
||||
{% else %}
|
||||
kdc = https://id{{ env_suffix }}.fedoraproject.org/KdcProxy
|
||||
{% endif %}
|
||||
{% if (ansible_hostname|default('')).startswith('koji') %}
|
||||
{% if (ansible_hostname|default('')).startswith(('koji','riscv-koji')) %}
|
||||
# This maps "A/B@FP.O" to "A/B@FP.O", and is used for gss localname in koji gssapi
|
||||
auth_to_local = RULE:[2:$1/$2@$0](.*)
|
||||
auth_to_local = DEFAULT
|
||||
|
||||
Reference in New Issue
Block a user