mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 21:34:48 +07:00
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:
parent
58a2d8f5cd
commit
12143551c7
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user