It runs as fedoauth, so that user needs access to the config

This commit is contained in:
Patrick Uiterwijk 2014-02-09 20:49:51 +00:00
parent 3a0703ad54
commit a29a44b87e

View file

@ -20,7 +20,7 @@
- name: copy fedoauth configuration
template: src=fedoauth.cfg
dest=/etc/fedoauth/fedoauth.cfg
owner=apache group=apache mode=0600
owner=fedoauth group=fedoauth mode=0600
when: env != "staging"
tags:
- config
@ -30,7 +30,7 @@
- name: copy fedoauth STG configuration
template: src=fedoauth.stg.cfg
dest=/etc/fedoauth/fedoauth.cfg
owner=apache group=apache mode=0600
owner=fedoauth group=fedoauth mode=0600
when: env == "staging"
tags:
- config
@ -39,12 +39,12 @@
- name: copy fedoauth private key
copy: src={{ private }}/files/fedoauth/persona.key dest=/etc/fedoauth/persona.key
owner=apache group=apache mode=0600
owner=fedoauth group=fedoauth mode=0600
when: env != "staging"
- name: copy fedoauth STG private key
copy: src={{ private }}/files/fedoauth/persona.stg.key dest=/etc/fedoauth/persona.stg.key
owner=apache group=apache mode=0600
owner=fedoauth group=fedoauth mode=0600
when: env == "staging"
- name: create the database scheme