diff --git a/roles/koji_hub/tasks/main.yml b/roles/koji_hub/tasks/main.yml index a5fc795e72..57bea75d63 100644 --- a/roles/koji_hub/tasks/main.yml +++ b/roles/koji_hub/tasks/main.yml @@ -30,6 +30,15 @@ tags: - koji_hub +- name: fedmenu shim + template: src=fedmenu-extra-footer.html dest=/usr/share/koji-web/static/extra-footer.html + tags: koji_hub + notify: restart httpd + # XXX - we only want to do this in staging for now because it requires a patch + # to koji itself to include the extra-footer.html file in a sufficiently + # advanced way. + when: env == 'staging' + - name: hub config template: src=hub.conf.j2 dest=/etc/koji-hub/hub.conf owner=apache group=apache mode=600 tags: diff --git a/roles/koji_hub/templates/fedmenu-extra-footer.html b/roles/koji_hub/templates/fedmenu-extra-footer.html new file mode 100644 index 0000000000..75934a1e41 --- /dev/null +++ b/roles/koji_hub/templates/fedmenu-extra-footer.html @@ -0,0 +1,27 @@ +{% if env == 'staging' %} + + + +{% else %} + + + +{% endif %} + + +