From 6cf0129d002d0bbc88756f4d662e0f5af043dc52 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Mon, 19 Oct 2026 22:32:54 -0700 Subject: Add static site hosting for eugenetriguba.com --- bootstrap.sh | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index 55b22ae..be0f4b7 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,13 +1,10 @@ #!/bin/sh -set -e - -PLAYBOOK_DIR="$(cd "$(dirname "$0")" && pwd)" -PLAYBOOK="${PLAYBOOK_DIR}/site.yml" +set -o errexit +set -o nounset main() { ensure_ansible_installed ensure_ansible_collections_installed - run_playbook "$@" } ensure_ansible_installed() { @@ -35,12 +32,6 @@ ensure_ansible_collections_installed() { fi } -run_playbook() { - log_step "Running playbook" - ansible-playbook --ask-become-pass --ask-vault-pass "$PLAYBOOK" "$@" - log_step "Done!" -} - bin_exists() { command -v "$1" >/dev/null 2>&1 } -- cgit v1.2.3