Couple hotfixes to nuancier

This commit is contained in:
Toshio くらとみ 2013-10-05 03:04:23 +00:00
parent 106c831ae1
commit fea1853b9c

View file

@ -60,10 +60,39 @@
- restart apache
# FIXME: Probably need other selinux booleans and tweaks here
- name: set sebooleans so nuancier can talk to the db
action: seboolean name=httpd_can_network_connect_db
state=true
persistent=true
# seboolean action requires libsemanage-python to be installed. Have to decide
# if we actually want to install that on the hosts.
# selinux is currently set to permissive due to other things that nuancier is
# trying to do. So no harm in leaving this disabled for now.
#- name: set sebooleans so nuancier can talk to the db
# action: seboolean name=httpd_can_network_connect_db
# state=true
# persistent=true
- name: hotfix nuancier to get an error message for people not in cla_plus_one
template: src={{ item.file }}
dest={{ item.location }}/{{ item.file }}
owner=root group=root mode=0644
with_items:
- { file: __init__.py, location: /usr/lib/python2.6/site-packages/nuancier/__init__.py }
tags:
- config
- hotfix
notify:
- restart apache
- name: hotfix nuancier to fix results page
template: src={{ item.file }}
dest={{ item.location }}/{{ item.file }}
owner=root group=root mode=0644
with_items:
- { file: model.py, location: /usr/lib/python2.6/site-packages/nuancier/model.py }
tags:
- config
- hotfix
notify:
- restart apache
- name: hotfix python-fedora-flask to include latest flask_fas_openid
template: src={{ item.file }}
dest={{ item.location }}/{{ item.file }}