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
|
- name: yum update bodhi-server packages from main repo
|
||||||
yum: name="{{ item }}" state=latest
|
yum: name="{{ item }}" state=latest
|
||||||
with_items:
|
with_items:
|
||||||
|
- bodhi-docs
|
||||||
- bodhi-server
|
- bodhi-server
|
||||||
- name: yum update bodhi-server packages from testing repo
|
- name: yum update bodhi-server packages from testing repo
|
||||||
yum: name="{{ item }}" state=latest enablerepo=infrastructure-testing
|
yum: name="{{ item }}" state=latest enablerepo=infrastructure-testing
|
||||||
|
|
|
@ -477,7 +477,7 @@ children:
|
||||||
user_url: https://admin.fedoraproject.org/updates/user/{user}
|
user_url: https://admin.fedoraproject.org/updates/user/{user}
|
||||||
source_url: https://github.com/fedora-infra/bodhi
|
source_url: https://github.com/fedora-infra/bodhi
|
||||||
bugs_url: https://github.com/fedora-infra/bodhi/issues
|
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:
|
sops:
|
||||||
- https://infrastructure.fedoraproject.org/infra/docs/bodhi.rst
|
- https://infrastructure.fedoraproject.org/infra/docs/bodhi.rst
|
||||||
status_mappings: ['bodhi']
|
status_mappings: ['bodhi']
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
- name: install needed packages
|
- name: install needed packages
|
||||||
package: pkg={{ item }} state=present
|
package: pkg={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
|
- bodhi-docs
|
||||||
- bodhi-server
|
- bodhi-server
|
||||||
- libsemanage-python
|
- libsemanage-python
|
||||||
- python-psycopg2
|
- python-psycopg2
|
||||||
|
@ -12,13 +13,6 @@
|
||||||
- packages
|
- packages
|
||||||
- bodhi
|
- bodhi
|
||||||
|
|
||||||
- name: install documentation package
|
|
||||||
package: pkg=bodhi-docs state=present
|
|
||||||
when: env == 'staging'
|
|
||||||
tags:
|
|
||||||
- packages
|
|
||||||
- bodhi
|
|
||||||
|
|
||||||
- name: setup /etc/bodhi/ directory
|
- name: setup /etc/bodhi/ directory
|
||||||
file: path=/etc/bodhi owner=root group=root mode=0755 state=directory
|
file: path=/etc/bodhi owner=root group=root mode=0755 state=directory
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
{% if env == 'staging' %}
|
|
||||||
Include /etc/httpd/conf.d/bodhi-docs.include
|
Include /etc/httpd/conf.d/bodhi-docs.include
|
||||||
|
|
||||||
<Location /docs/>
|
<Location /docs/>
|
||||||
|
@ -8,7 +7,6 @@ Include /etc/httpd/conf.d/bodhi-docs.include
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
|
|
||||||
{% endif %}
|
|
||||||
Alias /static /usr/lib/python2.7/site-packages/bodhi/server/static/
|
Alias /static /usr/lib/python2.7/site-packages/bodhi/server/static/
|
||||||
|
|
||||||
<Location /static/>
|
<Location /static/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue