ansible-taler-exchange

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

deploy.sh (301B)


      1 #!/bin/sh
      2 set -eu
      3 
      4 if [ -z ${1:-} ]
      5 then
      6     echo "Call with 'spec' or another host/group to select target"
      7     exit 1
      8 fi
      9 
     10 ansible-playbook -v \
     11     --limit "$1" \
     12     playbooks/setup.yml
     13 
     14 if [ -f root/postgres-backup.sql.gz ]
     15 then
     16     echo "Remember to delete root/postgres-backup.sql.gz"
     17 fi
     18 
     19 exit 0