[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-ansible-taler-exchange] branch master updated: fix setup issues w
From: |
gnunet |
Subject: |
[taler-ansible-taler-exchange] branch master updated: fix setup issues with challenger and AML SPA |
Date: |
Fri, 03 Jan 2025 21:12:19 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff 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 f67608a fix setup issues with challenger and AML SPA
f67608a is described below
commit f67608a94a63e7ec6e8cb41c578f79615857b65f
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jan 3 21:12:13 2025 +0100
fix setup issues with challenger and AML SPA
---
playbooks/setup.yml | 2 ++
roles/challenger/tasks/main.yml | 24 ++++++++++++++++++++++
.../conf.d/exchange-business.conf.j2 | 2 ++
3 files changed, 28 insertions(+)
diff --git a/playbooks/setup.yml b/playbooks/setup.yml
index b7bb971..8e932ba 100644
--- a/playbooks/setup.yml
+++ b/playbooks/setup.yml
@@ -50,6 +50,8 @@
LIBEUFIN_EXCHANGE_ACCOUNT: "exchange"
# Name of the bank dialect
LIBEUFIN_NEXUS_BANK_DIALECT: "postfinance"
+# SPA dialect (tops, gls, magnet, ...)
+ EXCHANGE_SPA_DIALECT: "tops"
# Business name of the exchange operator
EXCHANGE_OPERATOR_LEGAL_NAME: "Taler Exchange Operator Legal Name"
# Where to send people after they passed KYC.
diff --git a/roles/challenger/tasks/main.yml b/roles/challenger/tasks/main.yml
index 1b4bd78..d7814f0 100644
--- a/roles/challenger/tasks/main.yml
+++ b/roles/challenger/tasks/main.yml
@@ -54,6 +54,30 @@
system: true
state: present
+- name: Ensure /var/run/challenger-email/ directory exists
+ file:
+ path: "/var/run/challenger-email/"
+ state: directory
+ owner: challenger-email
+ group: www-data
+ mode: 0755
+
+- name: Ensure /var/run/challenger-sms/ directory exists
+ file:
+ path: "/var/run/challenger-sms/"
+ state: directory
+ owner: challenger-sms
+ group: www-data
+ mode: 0755
+
+- name: Ensure /var/run/challenger-postal/ directory exists
+ file:
+ path: "/var/run/challenger-postal/"
+ state: directory
+ owner: challenger-postal
+ group: www-data
+ mode: 0755
+
- name: Ensure Ansible facts directory exists
file:
path: "/etc/ansible/facts.d/"
diff --git
a/roles/exchange/templates/etc/taler-exchange/conf.d/exchange-business.conf.j2
b/roles/exchange/templates/etc/taler-exchange/conf.d/exchange-business.conf.j2
index 344f9f5..c46f103 100644
---
a/roles/exchange/templates/etc/taler-exchange/conf.d/exchange-business.conf.j2
+++
b/roles/exchange/templates/etc/taler-exchange/conf.d/exchange-business.conf.j2
@@ -18,6 +18,8 @@ BASE_URL = {{ EXCHANGE_BASE_URL }}
# Where to find accepting shops?
SHOPPING_URL = {{ EXCHANGE_SHOPPING_URL }}
+AML_SPA_DIALECT = {{ EXCHANGE_SPA_DIALECT }}
+
# Attribute encryption key for storing attributes encrypted
# in the database. Should be a high-entropy nonce.
ATTRIBUTE_ENCRYPTION_KEY = {{ EXCHANGE_ATTRIBUTE_ENCRYPTION_KEY }}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-ansible-taler-exchange] branch master updated: fix setup issues with challenger and AML SPA,
gnunet <=