gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ansible-taler-exchange] branch master updated: exchange_tops: template


From: Admin
Subject: [ansible-taler-exchange] branch master updated: exchange_tops: template tos_url
Date: Tue, 03 Jun 2025 14:29:39 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository ansible-taler-exchange.

The following commit(s) were added to refs/heads/master by this push:
     new b6cecaa  exchange_tops: template tos_url
b6cecaa is described below

commit b6cecaa5f2a05aa9709eb7b745bc5129012415c3
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Jun 3 14:18:18 2025 +0200

    exchange_tops: template tos_url
---
 roles/exchange_tops/tasks/main.yml                           | 12 ++++++------
 .../etc/taler-exchange/conf.d/kyc-rules.conf                 |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/roles/exchange_tops/tasks/main.yml 
b/roles/exchange_tops/tasks/main.yml
index 7a5f04d..8013919 100644
--- a/roles/exchange_tops/tasks/main.yml
+++ b/roles/exchange_tops/tasks/main.yml
@@ -1,7 +1,7 @@
 ---
 - name: Place taler-exchange external individual KYC provider configuration
   ansible.builtin.template:
-    src: 
templates/etc/taler-exchange/secrets/exchange-kyc-provider-individual.secret.conf.j2
+    src: 
etc/taler-exchange/secrets/exchange-kyc-provider-individual.secret.conf.j2
     dest: 
/etc/taler-exchange/secrets/exchange-kyc-provider-individual.secret.conf
     owner: taler-exchange-httpd
     group: taler-exchange-kyc
@@ -9,7 +9,7 @@
 
 - name: Place taler-exchange external KYC provider configuration
   ansible.builtin.template:
-    src: 
templates/etc/taler-exchange/secrets/exchange-kyc-provider-business.secret.conf.j2
+    src: 
etc/taler-exchange/secrets/exchange-kyc-provider-business.secret.conf.j2
     dest: 
/etc/taler-exchange/secrets/exchange-kyc-provider-business.secret.conf
     owner: taler-exchange-httpd
     group: taler-exchange-kyc
@@ -17,15 +17,15 @@
 
 - name: Place taler-exchange AML program environment
   ansible.builtin.template:
-    src: templates/etc/taler-exchange/taler-exchange.env.j2
+    src: etc/taler-exchange/taler-exchange.env.j2
     dest: /etc/taler-exchange/taler-exchange.env
     owner: taler-exchange-httpd
     group: root
     mode: "0400"
 
 - name: Place taler-exchange KYC configuration (if exists)
-  copy:
-    src: files/etc/taler-exchange/conf.d/kyc-rules.conf
+  ansible.builtin.template:
+    src: etc/taler-exchange/conf.d/kyc-rules.conf
     dest: /etc/taler-exchange/conf.d/kyc-rules.conf
     owner: root
     group: root
@@ -33,7 +33,7 @@
 
 - name: Place taler-exchange denominations config
   ansible.builtin.template:
-    src: templates/etc/taler-exchange/conf.d/denominations.conf.j2
+    src: etc/taler-exchange/conf.d/denominations.conf.j2
     dest: /etc/taler-exchange/conf.d/denominations.conf
     owner: root
     group: root
diff --git a/roles/exchange_tops/files/etc/taler-exchange/conf.d/kyc-rules.conf 
b/roles/exchange_tops/templates/etc/taler-exchange/conf.d/kyc-rules.conf
similarity index 98%
rename from roles/exchange_tops/files/etc/taler-exchange/conf.d/kyc-rules.conf
rename to roles/exchange_tops/templates/etc/taler-exchange/conf.d/kyc-rules.conf
index 0bf3d6c..0a58a0c 100644
--- a/roles/exchange_tops/files/etc/taler-exchange/conf.d/kyc-rules.conf
+++ b/roles/exchange_tops/templates/etc/taler-exchange/conf.d/kyc-rules.conf
@@ -141,7 +141,7 @@ CONTEXT = {}
 [kyc-measure-accept-tos]
 CHECK_NAME = form-accept-tos
 PROGRAM = check-tos
-CONTEXT = 
{"tos_url":"https://exchange.taler-ops.ch/terms","provider_name":"Taler 
Operations AG", "successor_measure":"accept-tos", "validity_years":10}
+CONTEXT = {"tos_url":"{{ EXCHANGE_BASE_URL }}terms","provider_name":"Taler 
Operations AG", "successor_measure":"accept-tos", "validity_years":10}
 VOLUNTARY = NO
 
 [kyc-measure-kyx]

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]