feat: ansible proxy jump
This commit is contained in:
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user