Store sensitive vars in pass

This commit is contained in:
polyfloyd 2024-07-10 20:47:01 +02:00
parent 53a1343491
commit 44b73a216f
7 changed files with 15 additions and 8 deletions

View file

@ -4,8 +4,8 @@
set -eu
host={{ bambulab_host }}
pass={{ bambulab_key }}
host={{ lookup('passwordstore', 'fotos/bambulab subkey=host') }}
pass={{ lookup('passwordstore', 'fotos/bambulab subkey=key') }}
dir={{ photos_path }}
files=$(curl -ksl "ftps://bblp:$pass@$host:990/timelapse/" | grep ^video_)