ansible-taler-exchange

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

commit a727cb56c83343c9fa0683749a23895c81707031
parent 211cb1354d2bcf1fe0891501d2e73218944183ec
Author: Florian Dold <florian@dold.me>
Date:   Wed, 21 May 2025 23:33:20 +0200

-gls

Diffstat:
Minventories/host_vars/fdold-acai-gls/test-public.yml | 2+-
Mroles/exchange/tasks/main.yml | 8++++----
2 files changed, 5 insertions(+), 5 deletions(-)

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-tos-v0" +EXCHANGE_TERMS_ETAG: "exchange-gls-tos-test-v1" # Name of Privacy policy resource file EXCHANGE_PP_ETAG: "exchange-pp-v0" # Full BIC of exchange account diff --git a/roles/exchange/tasks/main.yml b/roles/exchange/tasks/main.yml @@ -99,6 +99,10 @@ group: root mode: "0755" +- name: Apply deployment-specific exchange configuration + ansible.builtin.include_role: + name: "exchange_{{ DEPLOYMENT_KIND }}" + - name: Check if we have terms of service in English stat: path: "/usr/share/taler-exchange/terms/{{ EXCHANGE_TERMS_ETAG }}.en.rst" @@ -159,10 +163,6 @@ cmd: taler-terms-generator -i {{ EXCHANGE_PP_ETAG }} -l de when: have_pp_de.stat.exists -- name: Apply deployment-specific exchange configuration - ansible.builtin.include_role: - name: "exchange_{{ DEPLOYMENT_KIND }}" - - name: Ensure taler-exchange service is enabled and started service: daemon_reload: true