ansible-taler-exchange

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

main.yml (400B)


      1 ---
      2 # Database role
      3 
      4 - name: Install PostgreSQL on Debian/Ubuntu
      5   ansible.builtin.apt:
      6     policy_rc_d: 101
      7     name:
      8       - postgresql
      9       - python3-psycopg2
     10       - sudo
     11     state: present
     12     update_cache: true
     13   when: ansible_facts["os_family"] == 'Debian'
     14 
     15 - name: Ensure PostgreSQL is started and enabled
     16   ansible.builtin.systemd:
     17     name: postgresql
     18     state: started
     19     enabled: true