ansible-taler-exchange

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

commit a2a1038754a5dadc7e8ba5f4cb93ebb6f06a5e28
parent 7a43b6b8bf321632f241637749c6e4110a8f9815
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 13 Feb 2025 14:32:02 +0100

scripts to quickly enable test deployment

Diffstat:
Mplaybooks/test-public.yml | 2+-
Atest-activate.sh | 17+++++++++++++++++
Atest-master.priv | 2++
Atest-offline.conf | 10++++++++++
4 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/playbooks/test-public.yml b/playbooks/test-public.yml @@ -16,7 +16,7 @@ EXCHANGE_BASE_URL: "https://exchange.{{ DOMAIN_NAME }}/" # Base URL of the auditor REST API AUDITOR_BASE_URL: "https://auditor.{{ DOMAIN_NAME }}/" # Exchange offline master public key. -EXCHANGE_MASTER_PUB: W91R2NPHGP9TD36EXCAWNTW63QHEED4P12SNTKPE1WD5YM6MVA40 +EXCHANGE_MASTER_PUB: GT1ZRF6DT4RAETDEGW3KTWRH15RAKH9T0TK6ZJEYFGRX18B54AK0 # Auditor offline public key. AUDITOR_PUB: P6B7ZS7Y1Y12S0VP0PAJ1GQGSHW8RE4NSBTP8PR254J18SK24MH0 # URL with merchants accepting this exchange. diff --git a/test-activate.sh b/test-activate.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +# Script to fully configure the taler-ops "test" exchange. + +taler-exchange-offline \ + -c test-offline.conf \ + download sign upload + + +taler-exchange-offline \ + -c test-offline.conf \ + wire-fee now iban CHF:0 CHF:0 \ + global-fee now CHF:0 CHF:0 CHF:0 "1 d" "1 year" 1000 \ + enable-account payto://iban/CH6808573105529100001?receiver-name=Taler+Operations+AG \ + credit-restriction regex 'payto://iban/CH.*' "Swiss bank accounts only" '{}' \ + debit-restriction regex 'payto://iban/CH.*' "Swiss bank accounts only" '{}' \ + enable-auditor P6B7ZS7Y1Y12S0VP0PAJ1GQGSHW8RE4NSBTP8PR254J18SK24MH0 https://auditor.taler-ops.ch/ "Taler Operations AG" diff --git a/test-master.priv b/test-master.priv @@ -0,0 +1 @@ +O]eWBdkz:)I +\ No newline at end of file diff --git a/test-offline.conf b/test-offline.conf @@ -0,0 +1,10 @@ +# Configuration file for taler-exchange-offline for +# the test deployment on taler-ops.ch. + +[exchange] +CURRENCY = CHF +BASE_URL = https://exchange.taler-ops.ch/ + +[exchange-offline] +MASTER_PRIV_FILE = test-master.priv +SECM_TOFU_FILE = /tmp/tops-test-tofu.pub