diff --git a/files/sign/koji-arm.conf b/files/sign/koji-arm.conf new file mode 100644 index 0000000000..5fcc48f8c8 --- /dev/null +++ b/files/sign/koji-arm.conf @@ -0,0 +1,27 @@ +[koji] + +;configuration for koji cli tool + +;url of XMLRPC server +server = http://arm.koji.fedoraproject.org/kojihub + +;url of web interface +weburl = http://arm.koji.fedoraproject.org/koji + +;url of package download site +topurl = http://armpkgs.fedoraproject.org/ + +;path to the koji top directory +;topdir = /mnt/koji + +;configuration for SSL athentication + +;client certificate +cert = ~/.fedora.cert + +;certificate of the CA that issued the client certificate +ca = ~/.fedora-upload-ca.cert + +;certificate of the CA that issued the HTTP server certificate +serverca = ~/.fedora-server-ca.cert + diff --git a/files/sign/koji-ppc.conf b/files/sign/koji-ppc.conf new file mode 100644 index 0000000000..819cd5b1a8 --- /dev/null +++ b/files/sign/koji-ppc.conf @@ -0,0 +1,27 @@ +[koji] + +;configuration for koji cli tool + +;url of XMLRPC server +server = http://ppc.koji.fedoraproject.org/kojihub + +;url of web interface +weburl = http://ppc.koji.fedoraproject.org/koji + +;url of package download site +topurl = http://ppc.koji.fedoraproject.org/ + +;path to the koji top directory +;topdir = /mnt/koji + +;configuration for SSL athentication + +;client certificate +cert = ~/.fedora.cert + +;certificate of the CA that issued the client certificate +ca = ~/.fedora-upload-ca.cert + +;certificate of the CA that issued the HTTP server certificate +serverca = ~/.fedora-server-ca.cert + diff --git a/files/sign/koji-s390.conf b/files/sign/koji-s390.conf new file mode 100644 index 0000000000..09b09ccf86 --- /dev/null +++ b/files/sign/koji-s390.conf @@ -0,0 +1,27 @@ +[koji] + +;configuration for koji cli tool + +;url of XMLRPC server +server = http://s390.koji.fedoraproject.org/kojihub + +;url of web interface +weburl = http://s390.koji.fedoraproject.org/koji + +;url of package download site +topurl = http://s390pkgs.fedoraproject.org/ + +;path to the koji top directory +;topdir = /mnt/koji + +;configuration for SSL athentication + +;client certificate +cert = ~/.fedora.cert + +;certificate of the CA that issued the client certificate +ca = ~/.fedora-upload-ca.cert + +;certificate of the CA that issued the HTTP server certificate +serverca = ~/.fedora-server-ca.cert + diff --git a/tasks/sign_setup.yml b/tasks/sign_setup.yml index e47382f2b9..04ad17071e 100644 --- a/tasks/sign_setup.yml +++ b/tasks/sign_setup.yml @@ -37,8 +37,18 @@ - config when: inventory_hostname.startswith('secondary') -- name: setup secondary /etc/sigul/server.conf file - copy: src="{{ files }}/sign/server.conf.secondary" dest=/etc/sigul/server.conf owner=root group=sigul mode=640 +- name: Install secondary arch koji configs + template: src="{{ files }}/sign/bridge.conf.secondary.j2" dest=/etc/sigul/bridge.conf owner=root group=sigul mode=640 + tags: + - config + when: inventory_hostname.startswith('secondary') + +- name: setup secondary koji config files + copy: src="{{ files }}/sign/{{ item }}" dest=/etc/{{ item }} owner=root group=root mode=644 + with_items: + - koji-arm.conf + - koji-ppc.conf + - koji-s390.conf when: inventory_hostname.startswith('secondary') - name: setup gpg link