Set up staging sigul in ansible
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
449264faba
commit
5d5300020f
5 changed files with 9 additions and 33 deletions
|
@ -1,19 +0,0 @@
|
||||||
[koji]
|
|
||||||
realm = STG.FEDORAPROJECT.ORG
|
|
||||||
|
|
||||||
;configuration for koji cli tool
|
|
||||||
|
|
||||||
;url of XMLRPC server
|
|
||||||
server = https://koji.stg.fedoraproject.org/kojihub
|
|
||||||
|
|
||||||
;url of web interface
|
|
||||||
weburl = https://koji.stg.fedoraproject.org/koji
|
|
||||||
|
|
||||||
;url of package download site
|
|
||||||
topurl = https://kojipkgs.stg.fedoraproject.org/
|
|
||||||
serverca = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
|
|
||||||
|
|
||||||
authtype = kerberos
|
|
||||||
principal = sigul/secondary-bridge01.phx2.fedoraproject.org@FEDORAPROJECT.ORG
|
|
||||||
keytab = /etc/krb5.sigul_secondary-bridge01.phx2.fedoraproject.org.keytab
|
|
||||||
krb_rdns = false
|
|
|
@ -15,14 +15,7 @@
|
||||||
|
|
||||||
- name: Setup primary koji config file
|
- name: Setup primary koji config file
|
||||||
template: src=koji-primary.conf.j2 dest=/etc/koji-primary.conf owner=root group=root mode=644
|
template: src=koji-primary.conf.j2 dest=/etc/koji-primary.conf owner=root group=root mode=644
|
||||||
when: inventory_hostname.startswith('sign') and env == "production"
|
when: inventory_hostname.startswith('sign')
|
||||||
tags:
|
|
||||||
- sigul
|
|
||||||
- sigul/bridge
|
|
||||||
|
|
||||||
- name: Setup primary stg koji config file
|
|
||||||
copy: src=koji-primary.stg.conf dest=/etc/koji-primary.conf owner=root group=root mode=644
|
|
||||||
when: inventory_hostname.startswith('sign') and env == "staging"
|
|
||||||
tags:
|
tags:
|
||||||
- sigul
|
- sigul
|
||||||
- sigul/bridge
|
- sigul/bridge
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#
|
#
|
||||||
[bridge]
|
[bridge]
|
||||||
# Nickname of the bridge's certificate in the NSS database specified below
|
# Nickname of the bridge's certificate in the NSS database specified below
|
||||||
bridge-cert-nickname: sign-bridge.phx2.fedoraproject.org
|
bridge-cert-nickname: sign-bridge{{ env_suffix }}.phx2.fedoraproject.org
|
||||||
|
|
||||||
# Maximum accepted total size of all RPM payloads stored on disk for one request
|
# Maximum accepted total size of all RPM payloads stored on disk for one request
|
||||||
max-rpms-payload-size: 70737418240
|
max-rpms-payload-size: 70737418240
|
||||||
|
|
|
@ -4,13 +4,13 @@ realm = FEDORAPROJECT.ORG
|
||||||
;configuration for koji cli tool
|
;configuration for koji cli tool
|
||||||
|
|
||||||
;url of XMLRPC server
|
;url of XMLRPC server
|
||||||
server = https://koji.fedoraproject.org/kojihub
|
server = https://koji{{ env_suffix }}.fedoraproject.org/kojihub
|
||||||
|
|
||||||
;url of web interface
|
;url of web interface
|
||||||
weburl = https://koji.fedoraproject.org/koji
|
weburl = https://koji{{ env_suffix }}.fedoraproject.org/koji
|
||||||
|
|
||||||
;url of package download site
|
;url of package download site
|
||||||
topurl = https://kojipkgs.fedoraproject.org/
|
topurl = https://kojipkgs{{ env_suffix }}.fedoraproject.org/
|
||||||
|
|
||||||
;path to the koji top directory
|
;path to the koji top directory
|
||||||
;topdir = /mnt/koji
|
;topdir = /mnt/koji
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
[server]
|
[server]
|
||||||
# Host name of the publically acessible bridge to clients
|
# Host name of the publically acessible bridge to clients
|
||||||
|
|
||||||
bridge-hostname: sign-bridge.phx2.fedoraproject.org
|
bridge-hostname: sign-bridge{{ env_suffix }}.phx2.fedoraproject.org
|
||||||
server-cert-nickname: sign-vault.phx2.fedoraproject.org
|
server-cert-nickname: sign-vault{{ env_suffix }}.phx2.fedoraproject.org
|
||||||
|
|
||||||
# Port on which the bridge expects server connections
|
# Port on which the bridge expects server connections
|
||||||
bridge-port: 44333
|
bridge-port: 44333
|
||||||
|
@ -50,6 +50,7 @@ nss-min-tls: tls1.2
|
||||||
nss-max-tls: tls1.2
|
nss-max-tls: tls1.2
|
||||||
|
|
||||||
[binding]
|
[binding]
|
||||||
|
{% if env == "production" %}
|
||||||
# List of binding modules enabled
|
# List of binding modules enabled
|
||||||
enabled: pkcs11
|
enabled: pkcs11
|
||||||
pkcs11_tokens: yubikey_sv03,yubikey_sv04,yubikey_sv05,yubikey_sv06
|
pkcs11_tokens: yubikey_sv03,yubikey_sv04,yubikey_sv05,yubikey_sv06
|
||||||
|
@ -66,3 +67,4 @@ pkcs11_yubikey_sv05_privkey: pkcs11:serial=e8dae68ae187ff13;id=%03;type=private
|
||||||
{% elif inventory_hostname.startswith('sign-vault06') %}
|
{% elif inventory_hostname.startswith('sign-vault06') %}
|
||||||
pkcs11_yubikey_sv06_privkey: pkcs11:serial=e3c4804a6631dd5f;id=%03;type=private
|
pkcs11_yubikey_sv06_privkey: pkcs11:serial=e3c4804a6631dd5f;id=%03;type=private
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue