Skip to content

Commit

Permalink
added mollie secrets for mongoose
Browse files Browse the repository at this point in the history
  • Loading branch information
SamStaijen committed Jan 6, 2025
1 parent 88c31ac commit f56965e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions ansible/group_vars/production/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ secret_backup_aws:

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

secret_pretix:
# To change, generate a new password and set it in the Mailgun interface:
Expand Down
1 change: 1 addition & 0 deletions ansible/group_vars/staging/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ secret_backup_aws:

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

secret_pretix:
# To change, generate a new password and set it in the Mailgun interface:
Expand Down
5 changes: 5 additions & 0 deletions ansible/roles/mongoose/templates/.env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ DB_PORT=
# Token
API_TOKEN={{ vault_secret_mongoose.api_key }}

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

# Settings for django
DJANGO_KEY={{ vault_secret_mongoose.django_key }}
TIMEZONE=Europe/Amsterdam
Expand Down

0 comments on commit f56965e

Please sign in to comment.