diff --git a/roles/fedoauth/tasks/main.yml b/roles/fedoauth/tasks/main.yml index 5cbcf90202..2166d5cb54 100644 --- a/roles/fedoauth/tasks/main.yml +++ b/roles/fedoauth/tasks/main.yml @@ -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 diff --git a/roles/fedoauth/templates/fedoauth.stg.cfg b/roles/fedoauth/templates/fedoauth.stg.cfg index d7e4454dfe..22cc2fd942 100644 --- a/roles/fedoauth/templates/fedoauth.stg.cfg +++ b/roles/fedoauth/templates/fedoauth.stg.cfg @@ -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