ansible-taler-exchange

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

commit 61fec0d5674f139090a8956743f5673cbbbb0a6b
parent f6b8e4fb6169792b600cb7438325733f49982764
Author: Florian Dold <dold@taler.net>
Date:   Fri, 31 Jul 2026 15:39:12 +0200

define defaults for inventory variables required on every host

Diffstat:
Minventories/group_vars/all/defaults.yml | 9+++++++++
Minventories/group_vars/testing/test-public.yml | 2++
Minventories/host_vars/fdold-acai-tops/test-public.yml | 4++++
Minventories/host_vars/podman-localhost/test-public.yml | 4++++
4 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/inventories/group_vars/all/defaults.yml b/inventories/group_vars/all/defaults.yml @@ -34,6 +34,15 @@ exchange_domain: "exchange.{{ domain_name }}" # Domain name of the libeufin-nexus service nexus_domain: "nexus.{{ domain_name }}" +# Suite to use for the Taler package repository. On deb.taler.net the +# suites are named after the distribution release, so the release we are +# running on is the right default. Override per host to pick a different +# one (for example "trixie-testing"). +taler_repo_suites: "{{ ansible_facts['distribution_release'] }}" + +# Name identifying this host towards the monitoring backends. +TARGET_HOST_NAME: "{{ inventory_hostname }}" + # Use letsencrypt by default exchange_use_letsencrypt: true nexus_use_letsencrypt: true diff --git a/inventories/group_vars/testing/test-public.yml b/inventories/group_vars/testing/test-public.yml @@ -51,9 +51,11 @@ KYCAID_TEMPLATE_INDIVIDUAL: tmpl_xxx KYCAID_TEMPLATE_BUSINESS: tmpl_xxx # Regex specifying allowed phone numbers for the SMS check EXCHANGE_AML_PROGRAM_TOPS_SMS_HINT: "Swiss number required" +EXCHANGE_AML_PROGRAM_TOPS_SMS_EXAMPLE: "+41948224521" EXCHANGE_AML_PROGRAM_TOPS_SMS_REGEX: "\\\\+41[0-9]+" # Regex specifying allowed country names for the postal address check EXCHANGE_AML_PROGRAM_TOPS_POSTAL_COUNTRY_HINT: "Swiss address required" +EXCHANGE_AML_PROGRAM_TOPS_POSTAL_EXAMPLE: "Max Mustermann\\nBahnhofsplatz 1\\n4201 Biel/Bienne" EXCHANGE_AML_PROGRAM_TOPS_POSTAL_COUNTRY_REGEX: "CH|Ch|ch" # Tool to use for sanction list checking EXCHANGE_SANCTION_HELPER: taler-exchange-helper-sanctions-dummy diff --git a/inventories/host_vars/fdold-acai-tops/test-public.yml b/inventories/host_vars/fdold-acai-tops/test-public.yml @@ -3,6 +3,10 @@ USE_PREGENERATED_DHPARAM: true # Deploy challenger? deploy_challenger: true +# High-level kind of deployment. +# Other customizations depend on this. +# Can be "gls" or "tops" (later: "magnet") +DEPLOYMENT_KIND: "tops" # Main domain name. domain_name: "topstest.fdold.eu" exchange_domain: "exchange.{{ domain_name }}" diff --git a/inventories/host_vars/podman-localhost/test-public.yml b/inventories/host_vars/podman-localhost/test-public.yml @@ -1,5 +1,9 @@ --- # Public variables for a "test" deployment +# High-level kind of deployment. +# Other customizations depend on this. +# Can be "gls" or "tops" (later: "magnet") +DEPLOYMENT_KIND: "tops" # Main domain name. domain_name: "topstest.fdold.eu" exchange_domain: "exchange.{{ domain_name }}"