Move FedOAuth 3 to production
This commit is contained in:
parent
9ac7e0dd64
commit
c3a57dcaee
6 changed files with 86 additions and 206 deletions
|
@ -12,6 +12,8 @@
|
|||
- fedoauth
|
||||
- fedoauth-template-fedora
|
||||
- fedoauth-backend-fedora
|
||||
- fedoauth-provider-openid
|
||||
- fedoauth-provider-persona
|
||||
- python-psycopg2
|
||||
- libsemanage-python
|
||||
tags:
|
||||
|
@ -26,6 +28,15 @@
|
|||
notify:
|
||||
- restart apache
|
||||
|
||||
- name: copy fedoauth logging configuration
|
||||
template: src=fedoauth.log.cfg
|
||||
dest=/etc/fedoauth/fedoauth.log.cfg
|
||||
owner=fedoauth group=fedoauth mode=0600
|
||||
tags:
|
||||
- config
|
||||
notify:
|
||||
- restart apache
|
||||
|
||||
- name: copy fedoauth private key
|
||||
copy: src={{ private }}/files/fedoauth/persona.key dest=/etc/fedoauth/persona.key
|
||||
owner=fedoauth group=fedoauth mode=0600
|
||||
|
@ -46,6 +57,11 @@
|
|||
state=true
|
||||
persistent=true
|
||||
|
||||
- name: set sebooleans so fedoauth can send error logs
|
||||
action: seboolean name=httpd_can_network_connect
|
||||
state=true
|
||||
persistent=true
|
||||
|
||||
- name: apply selinux type to the wsgi file
|
||||
file: >
|
||||
dest=/usr/share/fedoauth/fedoauth.wsgi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue