fix: no private key present
This commit is contained in:
@@ -8,5 +8,6 @@ tasks:
|
||||
enter:
|
||||
cmd: ssh -i {{.KEY}} -p 22 root@{{.IP}}
|
||||
vars:
|
||||
KEY: { sh: ansible-vault view vault.yml | yq -r .secret.private_key_file }
|
||||
IP: { sh: "cat secrets/tf_outputs.yml | jq -r '.nat-public-ip.value'" }
|
||||
KEY:
|
||||
{ sh: ansible-vault view vault.yml | yq -r .secrets.private_key_file }
|
||||
IP: { sh: "cat secrets/tf_outputs.yml | jq -r '.nat_public_ip.value'" }
|
||||
|
||||
Reference in New Issue
Block a user