Generate keytab for ODCS and use it in Koji profile.
This commit is contained in:
parent
7e908361d4
commit
ec87815def
2 changed files with 11 additions and 0 deletions
|
@ -115,6 +115,12 @@
|
||||||
nfs_src_dir: 'fedora_koji'
|
nfs_src_dir: 'fedora_koji'
|
||||||
when: env == 'staging'
|
when: env == 'staging'
|
||||||
|
|
||||||
|
- role: keytab/service
|
||||||
|
service: odcs
|
||||||
|
owner_user: odcs
|
||||||
|
owner_group: odcs
|
||||||
|
host: "odcs{{env_suffix}}.fedoraproject.org"
|
||||||
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
- file: src=/mnt/fedora_koji/koji dest=/mnt/koji state=link
|
- file: src=/mnt/fedora_koji/koji dest=/mnt/koji state=link
|
||||||
tags: nfs/client
|
tags: nfs/client
|
||||||
|
|
|
@ -4,6 +4,8 @@ weburl = https://koji.fedoraproject.org/koji
|
||||||
topurl = https://kojipkgs.fedoraproject.org/
|
topurl = https://kojipkgs.fedoraproject.org/
|
||||||
authtype = kerberos
|
authtype = kerberos
|
||||||
krb_rdns = false
|
krb_rdns = false
|
||||||
|
principal = odcs/odcs.fedoraproject.org@FEDORAPROJECT.ORG
|
||||||
|
keytab = /etc/krb5.odcs_odcs{{env_suffix}}.fedoraproject.org.keytab
|
||||||
|
|
||||||
[staging]
|
[staging]
|
||||||
server = https://koji.stg.fedoraproject.org/kojihub
|
server = https://koji.stg.fedoraproject.org/kojihub
|
||||||
|
@ -11,3 +13,6 @@ weburl = https://koji.stg.fedoraproject.org/koji
|
||||||
topurl = https://kojipkgs.stg.fedoraproject.org/
|
topurl = https://kojipkgs.stg.fedoraproject.org/
|
||||||
authtype = kerberos
|
authtype = kerberos
|
||||||
krb_rdns = false
|
krb_rdns = false
|
||||||
|
principal = odcs/odcs.stg.fedoraproject.org@STG.FEDORAPROJECT.ORG
|
||||||
|
keytab = /etc/krb5.odcs_odcs{{env_suffix}}.fedoraproject.org.keytab
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue