# Observability node commands. Run `just --list` from this directory. # Terraform must be initialized (`just init`) before ssh or ip will resolve. # # Secrets/vars come from 1Password via .env.local.op (see README) — e.g.: # op run --env-file=.env.local.op -- just apply default: @just --list # Droplet IPv4 from terraform output. ip: @cd terraform && terraform output -raw droplet_ipv4 # terraform init init: cd terraform && terraform init # terraform plan plan: init cd terraform && terraform plan # terraform apply apply: init cd terraform && terraform apply # ssh into the host as devict ssh: ssh devict@$(just ip) # full ansible setup (all roles) setup: cd ansible && ansible-playbook site.yaml # re-render service templates + restart (no base host setup) deploy: cd ansible && ansible-playbook deploy.yaml