ansible-taler-exchange

Ansible playbook to deploy a production Taler Exchange
Log | Files | Refs | Submodules | README | LICENSE

commit 2f01325e4bcb8f556f41e9c5e45cffff3f7526fc
parent c8739f50ac33580e96efb654a39f7aecdbf12244
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 26 Dec 2024 13:02:52 +0100

fix ebics setup

Diffstat:
Mplaybooks/setup.yml | 2+-
Mroles/libeufin-nexus/templates/etc/libeufin/libeufin-nexus-ebics.conf.j2 | 13-------------
Mroles/libeufin-nexus/templates/etc/libeufin/libeufin-nexus.conf.j2 | 14++++++++++++++
Mroles/libeufin-transaction-export/tasks/main.yml | 2++
4 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/playbooks/setup.yml b/playbooks/setup.yml @@ -17,7 +17,7 @@ DOMAIN_NAME: "taler-ops.ch" # Use nightly Taler distro (true/false). USE_NIGHTLY: true -# Use nightly Taler distro (true/false). +# Deploy EBICS configuration (true/false). use_ebics: false # Our currency. CURRENCY: CHF diff --git a/roles/libeufin-nexus/templates/etc/libeufin/libeufin-nexus-ebics.conf.j2 b/roles/libeufin-nexus/templates/etc/libeufin/libeufin-nexus-ebics.conf.j2 @@ -14,16 +14,3 @@ PARTNER_ID = {{ LIBEUFIN_NEXUS_EBICS_PARTNER_ID }} # EBICS partner ID, as assigned by the bank. # ??? SYSTEM_ID = {{ LIBEUFIN_NEXUS_EBICS_SYSTEM_ID }} - -# IBAN of the bank account that is associated with the EBICS subscriber. -IBAN = {{ EXCHANGE_BANK_ACCOUNT_IBAN }} - -# BIC of the bank account that is associated with the EBICS subscriber -BIC = {{ EXCHANGE_BANK_ACCOUNT_BIC }} - -# Legal entity that is associated with the EBICS subscriber. -NAME = {{ EXCHANGE_OPERATOR_LEGAL_NAME }} - -# EBICS version and ISO20022 recommendations that -# Nexus would honor in the communication with the bank. -BANK_DIALECT = {{ LIBEUFIN_NEXUS_BANK_DIALECT }} diff --git a/roles/libeufin-nexus/templates/etc/libeufin/libeufin-nexus.conf.j2 b/roles/libeufin-nexus/templates/etc/libeufin/libeufin-nexus.conf.j2 @@ -11,6 +11,20 @@ CURRENCY = {{ CURRENCY }} # Exchange accounts bounce invalid incoming transactions. ACCOUNT_TYPE = exchange +# IBAN of the bank account that is associated with the EBICS subscriber. +IBAN = {{ EXCHANGE_BANK_ACCOUNT_IBAN }} + +# BIC of the bank account that is associated with the EBICS subscriber +BIC = {{ EXCHANGE_BANK_ACCOUNT_BIC }} + +# Legal entity that is associated with the EBICS subscriber. +NAME = {{ EXCHANGE_OPERATOR_LEGAL_NAME }} + +# EBICS version and ISO20022 recommendations that +# Nexus would honor in the communication with the bank. +BANK_DIALECT = {{ LIBEUFIN_NEXUS_BANK_DIALECT }} + + [nexus-fetch] FREQUENCY = 30s diff --git a/roles/libeufin-transaction-export/tasks/main.yml b/roles/libeufin-transaction-export/tasks/main.yml @@ -9,6 +9,8 @@ path: /tmp prefix: "libeufin-transaction-export-{{ today.stdout }}-" suffix: .zip + become: yes + become_user: libeufin-nexus register: exportfile - name: Export from libeufin-nexus