Lets make a seperation between prod and stg in file names

This commit is contained in:
Patrick Uiterwijk 2014-02-09 20:34:25 +00:00
parent cfe9665a68
commit 9c3287314b
2 changed files with 3 additions and 3 deletions

View file

@ -38,11 +38,11 @@
- restart apache
- name: copy fedoauth private key
copy: src={{ private }}/files/fedoauth/persona.key
copy: src={{ private }}/files/fedoauth/persona.key dest=/etc/fedoauth/persona.key
when: env != "staging"
- name: copy fedoauth STG private key
copy: src={{ private }}/files/fedoauth/persona.stg.key
copy: src={{ private }}/files/fedoauth/persona.stg.key dest=/etc/fedoauth/persona.stg.key
when: env == "staging"
- name: create the database scheme

View file

@ -29,7 +29,7 @@ FAS_AVAILABLE_TO = []
# PERSONA CONFIGURATION
# This is the domain for which we are willing to sign
PERSONA_DOMAIN = 'id.stg.fedoraproject.org'
PERSONA_PRIVATE_KEY_PATH = '/etc/fedoauth/persona.key'
PERSONA_PRIVATE_KEY_PATH = '/etc/fedoauth/persona.stg.key'
PERSONA_PRIVATE_KEY_PASSPHRASE = '{{ fedoauth_persona_key_passphrase }}'
# OPENID CONFIGURATION