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