We no longer have any hostnames that start with "bodhi0".
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
af3adca84a
commit
2e2c8af6f4
2 changed files with 0 additions and 71 deletions
|
@ -19,20 +19,6 @@
|
||||||
- config
|
- config
|
||||||
- bodhi
|
- bodhi
|
||||||
|
|
||||||
- name: setup basic /etc/bodhi/ contents
|
|
||||||
template: >
|
|
||||||
src="production.ini.j2"
|
|
||||||
dest="/etc/bodhi/production.ini"
|
|
||||||
owner=bodhi
|
|
||||||
group=bodhi
|
|
||||||
mode=0600
|
|
||||||
when: inventory_hostname.startswith('bodhi0')
|
|
||||||
notify:
|
|
||||||
- reload bodhi httpd
|
|
||||||
tags:
|
|
||||||
- config
|
|
||||||
- bodhi
|
|
||||||
|
|
||||||
- name: Configure alembic
|
- name: Configure alembic
|
||||||
template:
|
template:
|
||||||
src: alembic.ini
|
src: alembic.ini
|
||||||
|
@ -63,20 +49,6 @@
|
||||||
- config
|
- config
|
||||||
- bodhi
|
- bodhi
|
||||||
|
|
||||||
- name: setup basic /etc/httpd/conf.d/ bodhi contents
|
|
||||||
template: >
|
|
||||||
src="bodhi-app.conf"
|
|
||||||
dest="/etc/httpd/conf.d/bodhi.conf"
|
|
||||||
owner=root
|
|
||||||
group=root
|
|
||||||
mode=0644
|
|
||||||
when: inventory_hostname.startswith('bodhi0')
|
|
||||||
notify:
|
|
||||||
- reload bodhi httpd
|
|
||||||
tags:
|
|
||||||
- config
|
|
||||||
- bodhi
|
|
||||||
|
|
||||||
- name: setup /etc/pki/bodhi directory
|
- name: setup /etc/pki/bodhi directory
|
||||||
file: path=/etc/pki/bodhi owner=root group=root mode=0755 state=directory
|
file: path=/etc/pki/bodhi owner=root group=root mode=0755 state=directory
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,43 +0,0 @@
|
||||||
Alias /docs /usr/share/doc/bodhi-docs/html/
|
|
||||||
|
|
||||||
<Location /docs/>
|
|
||||||
Header set Cache-Control public
|
|
||||||
ExpiresDefault "access plus 1 month"
|
|
||||||
Header unset ETag
|
|
||||||
</Location>
|
|
||||||
|
|
||||||
|
|
||||||
Alias /static /usr/lib/python2.7/site-packages/bodhi/server/static/
|
|
||||||
|
|
||||||
<Location /static/>
|
|
||||||
Header set Cache-Control public
|
|
||||||
ExpiresDefault "access plus 1 month"
|
|
||||||
Header unset ETag
|
|
||||||
</Location>
|
|
||||||
|
|
||||||
<FilesMatch ".(eot|ttf|otf|woff)">
|
|
||||||
# modern browsers require that fonts have this
|
|
||||||
Header set Access-Control-Allow-Origin "*"
|
|
||||||
</FilesMatch>
|
|
||||||
|
|
||||||
|
|
||||||
WSGIDaemonProcess bodhi user=bodhi group=bodhi display-name=bodhi processes={{wsgi_procs}} threads={{wsgi_threads}} maximum-requests=1000
|
|
||||||
WSGISocketPrefix run/wsgi
|
|
||||||
WSGIRestrictStdout On
|
|
||||||
WSGIRestrictSignal Off
|
|
||||||
WSGIPythonOptimize 1
|
|
||||||
|
|
||||||
WSGIScriptAlias / /usr/share/bodhi/bodhi.wsgi
|
|
||||||
|
|
||||||
<Location />
|
|
||||||
WSGIProcessGroup bodhi
|
|
||||||
<IfModule mod_authz_core.c>
|
|
||||||
# Apache 2.4
|
|
||||||
Require all granted
|
|
||||||
</IfModule>
|
|
||||||
<IfModule !mod_authz_core.c>
|
|
||||||
# Apache 2.2
|
|
||||||
Order deny,allow
|
|
||||||
Allow from all
|
|
||||||
</IfModule>
|
|
||||||
</Location>
|
|
Loading…
Add table
Add a link
Reference in a new issue