Skip to content

Commit

Permalink
added requested changes from Tobias and Silas
Browse files Browse the repository at this point in the history
  • Loading branch information
SamStaijen committed Jan 6, 2025
1 parent f56965e commit 4149711
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ansible/group_vars/staging/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ secret_backup_aws:
secret_key: "{{ vault_secret_backup_aws.secret_key }}"

# To change, regenerate the token in Mollie's web interface.
secret_mollie_token: "{{ vault_secret_mollie_token }}"
secret_mollie_token_koala: "{{ vault_secret_mollie_token }}"
secret_mollie_token_mongoose: "{{ vault_secret_mollie_token_mongoose }}"

secret_pretix:
Expand Down
6 changes: 3 additions & 3 deletions ansible/roles/koala/templates/.env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ SENTRY_DSN={{ secret_koala.sentry_dsn | default('') }}
KOALA_DOMAIN=https://koala.{{ canonical_hostname }}

# Mollie
MOLLIE_DOMAIN=https://api.mollie.nl
MOLLIE_TOKEN={{ secret_mollie_token }}
MOLLIE_VERSION=v1
MOLLIE_DOMAIN=https://api.mollie.com
MOLLIE_TOKEN={{ secret_mollie_token_koala }}
MOLLIE_VERSION=v2

# Other
RAILS_ENV={{ koala_env.environment }}
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/mongoose/templates/.env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ DB_PORT=
API_TOKEN={{ vault_secret_mongoose.api_key }}

# MOLLIE credentials for the iDEAL integration.
MOLLIE_DOMAIN=https://api.mollie.nl
MOLLIE_DOMAIN=https://api.mollie.com
MOLLIE_API_TOKEN={{ secret_mollie_token_mongoose }}
MOLLIE_VERSION=v1
MOLLIE_VERSION=v2

# Settings for django
DJANGO_KEY={{ vault_secret_mongoose.django_key }}
Expand Down

0 comments on commit 4149711

Please sign in to comment.