ansible/playbooks/apps/templates/ynab/run-go.j2

6 lines
225 B
Text
Raw Normal View History

2024-11-30 18:02:01 +01:00
#!/bin/bash
set -euo pipefail
2024-12-01 15:34:00 +01:00
pushd /mnt/data/ynab
2024-11-30 18:02:01 +01:00
./download -i {{lcl_identifier}} -p {{lcl_password}} -o out.csv -headless
2024-11-30 18:11:22 +01:00
./push -t {{ynab_token}} -b {{ynab_budget_id}} -a {{ynab_account_id}} -w {{webhook_url}} -f out.csv