✨ feat(infrastructure): introduce ansible deployment for taler services
- add ansible playbooks and roles for deploying taler exchange and merchant
- configure PostgreSQL, GNU Taler repositories, and services
🔧 chore(config): provide example env and gitignore for sensitive files
- create .env-example with placeholders for sensitive info
- add .gitignore entries for .env and common editor files
This commit is contained in:
parent
ca89a06864
commit
fdc9234540
18 changed files with 525 additions and 0 deletions
4
roles/taler_repo/handlers/main.yml
Normal file
4
roles/taler_repo/handlers/main.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- name: Update apt cache for Taler repo
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
14
roles/taler_repo/tasks/main.yml
Normal file
14
roles/taler_repo/tasks/main.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
- name: Download GNU Taler archive key
|
||||
ansible.builtin.get_url:
|
||||
url: "{{ taler_config.package_repo }}taler-archive-keyring.gpg"
|
||||
dest: /usr/share/keyrings/taler-archive-keyring.gpg
|
||||
mode: "0644"
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
- name: Add GNU Taler apt repository
|
||||
ansible.builtin.apt_repository:
|
||||
repo: "deb [signed-by=/usr/share/keyrings/taler-archive-keyring.gpg] {{ taler_config.package_repo }} {{ taler_config.distribution }} main"
|
||||
filename: taler
|
||||
state: present
|
||||
notify: Update apt cache for Taler repo
|
||||
Loading…
Add table
Add a link
Reference in a new issue