feat: ansible proxy jump

This commit is contained in:
2025-10-07 22:39:58 -04:00
parent 767fd3b503
commit 7f36507dce
7 changed files with 140 additions and 86 deletions

View File

@@ -18,9 +18,8 @@ tasks:
- cp ./assets/logo.svg ./gitea/custom/public/assets/img/favicon.svg
- cp ./assets/logo.png ./gitea/custom/public/assets/img/apple-touch-icon.png
enter:
gitea:
cmd: ssh -i {{.KEY}} -p 2222 root@{{.IP}}
vars:
KEY: { sh: ansible-vault view vault.yml | yq -r ".secret.private_ssh_key_path" }
KEY: { sh: ansible-vault view vault.yml | yq -r ".secret.private_gitea_ssh_key_path" }
IP: { sh: cat dist/terraform_outputs.yml | jq -r ".server_ip.value" }