scripts v1

This commit is contained in:
2025-10-22 21:47:09 -05:00
commit acea71c326
10 changed files with 177 additions and 0 deletions

13
ansible/unlock.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# Author: Landon Dyck
# Will prompt for your bitwarden vault password and retain the open session in your environment
# Idempotent
# Usage: $ . ./unlock.sh
if [[ -z "${BW_SESSION}" ]]; then
export BW_SESSION=$(bw unlock --raw)
fi
bw sync