IaC for homeserver on Raspberry Pi
brew install ansible
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/homeserver -C <email>
ssh-copy-id -i ~/.ssh/homeserver <username>@<hostname>[:<port>]
- Create file
.vault_pass
with password forsecret.yml
vault
ansible-playbook run.yml --tags "some_tag"