Homelab Ansible Playbooks and Roles
Go to file
2025-08-26 01:02:53 +02:00
inventory chore: first commit 2025-07-25 20:23:54 +02:00
playbooks chore: first commit 2025-07-25 20:23:54 +02:00
roles feat: enhance sshd fallback over missing $HOME 2025-08-26 01:02:53 +02:00
.editorconfig chore: first commit 2025-07-25 20:23:54 +02:00
.gitignore chore: first commit 2025-07-25 20:23:54 +02:00
ansible.cfg chore: first commit 2025-07-25 20:23:54 +02:00
GIST.md chore: first commit 2025-07-25 20:23:54 +02:00
LICENSE Initial commit 2025-07-25 20:11:17 +02:00
playbook.yml chore: first commit 2025-07-25 20:23:54 +02:00
README.md feat: add metric support and fix net-persist issues with multiple NICs 2025-08-26 00:31:24 +02:00
requirements.yml chore: first commit 2025-07-25 20:23:54 +02:00

Homelab Ansible Playbooks

This repository contains Ansible playbooks and roles I use to manage my NAS and several VMs 👨‍💻.

This project is designed for personal/familial scale maintenance, if you find this useful for your use, want to share advises or security concerns, feel free to drop me a line.

This is a good playground to learn and I encourage you to adapt these roles to your needs. While they might not be production-ready for all environments, I'm open to adapting them for Ansible Galaxy if there's community interest!

Requirements

ansible-galaxy collection install -r requirements.yml

Usage

ansible-playbook -i inventory/hosts.yml playbook.yml --ask-become-pass

Target devices configuration

Requirements:

  • sshd up and running
  • public key copied:
ssh-copy-id -i ~/.ssh/id_rsa.pub username@remote_host
  • python3 installed (pacman -Syu python3)

Developping

Linting:

npx prettier --write .