ansible-taler-exchange

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

packages.yml (1115B)


      1 ---
      2 # regional-currency/install_packages.sh — only exchange+postgres bits (no nginx/nexus)
      3 
      4 - name: Ensure apt keyrings dir
      5   ansible.builtin.file:
      6     path: /etc/apt/keyrings
      7     state: directory
      8     mode: "0755"
      9 
     10 - name: Deploy Taler apt key
     11   ansible.builtin.copy:
     12     src: "{{ role_path }}/../common_packages/files/etc/apt/keyrings/taler-systems.gpg"
     13     dest: /etc/apt/keyrings/taler-systems.gpg
     14     owner: root
     15     group: root
     16     mode: "0644"
     17 
     18 - name: Add GNU Taler apt list
     19   ansible.builtin.copy:
     20     dest: /etc/apt/sources.list.d/taler-systems.list
     21     owner: root
     22     group: root
     23     mode: "0644"
     24     content: |
     25       deb [arch=amd64 signed-by=/etc/apt/keyrings/taler-systems.gpg] https://deb.taler.net/apt/debian {{ taler_repo_suites | default(ansible_facts['distribution_release']) }} main
     26   when: ansible_facts["os_family"] == "Debian"
     27 
     28 - name: Install exchange + postgres
     29   ansible.builtin.apt:
     30     name:
     31       - postgresql
     32       - taler-exchange
     33       - curl
     34       - jq
     35       - python3-psycopg2
     36       - sudo
     37     state: present
     38     update_cache: true
     39   when: ansible_facts["os_family"] == "Debian"