roles/koji-web: Deploy the Koji Web UI

The *koji-web* role installs and configures the Koji Web GUI front-end
for Koji. It requires Apache and mod_wsgi. A client certificate is
required for authentication to the hub, and must be placed in the
host-specific subdirectory of `certs/koji`.
This commit is contained in:
2018-08-12 10:08:01 -05:00
parent 6341d972f6
commit da4ec1612c
6 changed files with 188 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
koji_uid: 998
koji_gid: 996
koji_home: /var/lib/koji
kojihub_host: "{{ ansible_fqdn }}"
kojihub_url: https://{{ kojihub_host }}/kojihub
kojiweb_hostname: "{{ kojihub_host }}"
kojiweb_url: https://{{ kojiweb_hostname }}/koji
kojifiles_host: "{{ kojihub_host }}"
kojifiles_url: http://{{ kojifiles_host }}/kojifiles
kojiweb_secret: >
{{ lookup("password", "passwords/kojiweb_secret/" + inventory_hostname) }}