Configure production Bodhi to host its docs.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
3692faa1e8
commit
91650b3178
4 changed files with 3 additions and 10 deletions
|
@ -34,6 +34,7 @@
|
|||
- name: yum update bodhi-server packages from main repo
|
||||
yum: name="{{ item }}" state=latest
|
||||
with_items:
|
||||
- bodhi-docs
|
||||
- bodhi-server
|
||||
- name: yum update bodhi-server packages from testing repo
|
||||
yum: name="{{ item }}" state=latest enablerepo=infrastructure-testing
|
||||
|
|
|
@ -477,7 +477,7 @@ children:
|
|||
user_url: https://admin.fedoraproject.org/updates/user/{user}
|
||||
source_url: https://github.com/fedora-infra/bodhi
|
||||
bugs_url: https://github.com/fedora-infra/bodhi/issues
|
||||
docs_url: http://bodhi.readthedocs.io/en/latest/
|
||||
docs_url: https://bodhi.fedoraproject.org/docs
|
||||
sops:
|
||||
- https://infrastructure.fedoraproject.org/infra/docs/bodhi.rst
|
||||
status_mappings: ['bodhi']
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
- name: install needed packages
|
||||
package: pkg={{ item }} state=present
|
||||
with_items:
|
||||
- bodhi-docs
|
||||
- bodhi-server
|
||||
- libsemanage-python
|
||||
- python-psycopg2
|
||||
|
@ -12,13 +13,6 @@
|
|||
- packages
|
||||
- bodhi
|
||||
|
||||
- name: install documentation package
|
||||
package: pkg=bodhi-docs state=present
|
||||
when: env == 'staging'
|
||||
tags:
|
||||
- packages
|
||||
- bodhi
|
||||
|
||||
- name: setup /etc/bodhi/ directory
|
||||
file: path=/etc/bodhi owner=root group=root mode=0755 state=directory
|
||||
tags:
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
{% if env == 'staging' %}
|
||||
Include /etc/httpd/conf.d/bodhi-docs.include
|
||||
|
||||
<Location /docs/>
|
||||
|
@ -8,7 +7,6 @@ Include /etc/httpd/conf.d/bodhi-docs.include
|
|||
</Location>
|
||||
|
||||
|
||||
{% endif %}
|
||||
Alias /static /usr/lib/python2.7/site-packages/bodhi/server/static/
|
||||
|
||||
<Location /static/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue