Truncated history

This commit is contained in:
2024-12-28 12:04:44 +01:00
parent a0fd43e8c6
commit ea1fe23d8d
74 changed files with 3111 additions and 34 deletions

24
run-playbook.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/sh
if ! grep -qE "vault_decrypted: true" "./vars/bootstrap.yaml";
then
echo "Decrypt vaults using './decrypt-vault.sh' first!"
exit 1
fi
if ! grep -qE "vault_decrypted: true" "./vars/bigboi.yaml";
then
echo "Decrypt vaults using './decrypt-vault.sh' first!"
exit 1
fi
if ! grep -qE "vault_decrypted: true" "./vars/smolboi.yaml";
then
echo "Decrypt vaults using './decrypt-vault.sh' first!"
exit 1
fi
./helpers/get-passwords.sh
ansible-playbook main.yaml --become-method sudo --extra-vars "ansible_become_pass=$(cat .passwords/bootstrap_become)"
./helpers/delete-passwords.sh