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

19
ansible/deploy.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
# Author: Landon Dyck
# This is a convenience wrapper around ansible-playbook using the python env. Can take any
# additional ansible-playbook parameters, such as tags. Use unlock.sh first for even more
# convenience.
# Usage: $ ./deploy.sh [additional params]
PATH=${PWD}/env/bin:${PATH}
set -ex
if [ -f .env ]; then
export $(cat .env | xargs)
fi
cd ansible/
time ansible-playbook main.yml --diff $@