ansible-taler-exchange

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

commit 89fd37d09c2f8b8d358fbccfb27f6b6bafbd0891
parent 15410e783a4b06d3e6edd7f8f475334d1d683886
Author: Florian Dold <florian@dold.me>
Date:   Wed, 28 May 2025 14:38:38 +0200

specify RESTRICTION_PAYTO_REGEX for TOPS

Diffstat:
Minventories/default | 2+-
Minventories/host_vars/fdold-acai-gls/test-public.yml | 2+-
Minventories/host_vars/fdold-guava-glsint/test-public.yml | 2+-
Mroles/libeufin-nexus/templates/etc/libeufin/libeufin-nexus.conf.j2 | 4++++
4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/inventories/default b/inventories/default @@ -1,6 +1,6 @@ # Same host, but two mutually exclusive configurations fdold-acai-tops ansible_port=22 ansible_user=root ansible_host=188.245.187.147 -fdold-acai-gls ansible_port=22 ansible_user=root ansible_host=188.245.187.147 +fdold-acai-gls ansible_port=22 ansible_user=root ansible_host=acai.box.fdold.eu fdold-guava-glsint ansible_port=22 ansible_user=root ansible_host=guava.box.fdold.eu [testing] diff --git a/inventories/host_vars/fdold-acai-gls/test-public.yml b/inventories/host_vars/fdold-acai-gls/test-public.yml @@ -37,7 +37,7 @@ EXCHANGE_MASTER_PUB: ABSERA9GY2RV0G12RZYTZ11WMG81ZRT8S9DTQJ8JNXXE5RXAKBF0 # URL with merchants accepting this exchange. EXCHANGE_SHOPPING_URL: "https://shops.taler.gls.de/" # Name of Terms of service resource file -EXCHANGE_TERMS_ETAG: "exchange-gls-tos-test-v1" +EXCHANGE_TERMS_ETAG: "exchange-gls-tos-test-v2" # Name of Privacy policy resource file EXCHANGE_PP_ETAG: "exchange-pp-v0" # Full BIC of exchange account diff --git a/inventories/host_vars/fdold-guava-glsint/test-public.yml b/inventories/host_vars/fdold-guava-glsint/test-public.yml @@ -37,7 +37,7 @@ EXCHANGE_MASTER_PUB: GW875YV09RZ743X045DNSQC7SFNF0G66707H7PT3TP0RWPAPR340 # URL with merchants accepting this exchange. EXCHANGE_SHOPPING_URL: "https://shops.taler.gls.de/" # Name of Terms of service resource file -EXCHANGE_TERMS_ETAG: "exchange-gls-tos-test-v1" +EXCHANGE_TERMS_ETAG: "exchange-gls-tos-test-v2" # Name of Privacy policy resource file EXCHANGE_PP_ETAG: "exchange-pp-v0" # Full BIC of exchange account diff --git a/roles/libeufin-nexus/templates/etc/libeufin/libeufin-nexus.conf.j2 b/roles/libeufin-nexus/templates/etc/libeufin/libeufin-nexus.conf.j2 @@ -28,6 +28,10 @@ BANK_DIALECT = {{ LIBEUFIN_NEXUS_BANK_DIALECT }} [nexus-fetch] FREQUENCY = 30s +{%if DEPLOYMENT_KIND == 'tops' %} +RESTRICTION_PAYTO_REGEX = payto://iban/CH.* +{%endif %} + [nexus-submit] FREQUENCY = 30s