fix(metal): always generate SSH key without passphrase

https://github.com/khuedoan/homelab/issues/92

Using SSH key with passphrase requires ssh-agent, which the tools
container doesn't have
https://stackoverflow.com/questions/50277495/how-to-run-an-ansible-playbook-with-a-passphrase-protected-ssh-private-key
This commit is contained in:
Khue Doan 2022-10-12 09:24:15 +07:00
parent 58a2d8f5cd
commit 12143551c7

View File

@ -5,7 +5,7 @@ env ?= "prod"
default: boot cluster
~/.ssh/id_ed25519:
ssh-keygen -t ed25519 -f "$@"
ssh-keygen -t ed25519 -P '' -f "$@"
boot: ~/.ssh/id_ed25519
ansible-playbook \