feat: install docker; auto change port

This commit is contained in:
2025-09-08 23:17:43 -04:00
parent fd30ee265f
commit 65893c30f3
6 changed files with 134 additions and 32 deletions

View File

@@ -1,5 +1,12 @@
version: 3
tasks:
vault: ansible-vault edit vault.yml
infra: ansible-playbook playbooks/infrastructure.yml
vault: ansible-vault edit vault.yml {{.CLI_ARGS}}
infra: ansible-playbook playbooks/provision.yml {{.CLI_ARGS}}
setup: ansible-playbook playbooks/deploy.yml {{.CLI_ARGS}}
enter:
cmd: ssh -i {{.KEY}} -p 2222 root@{{.IP}}
vars:
KEY: { sh: ansible-vault view vault.yml | yq -r ".deploy.private_ssh_key_path" }
IP: { sh: cat dist/terraform_outputs.yml | jq -r ".server_ip.value" }