8000 GitHub - Dakad/homelab-iac: Ansible config for my homelab raspberry cluster and Linux laptop · GitHub
[go: up one dir, main page]

Skip to content

About

Ansible config for my homelab raspberry cluster and Linux laptop

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

HomeLab IAC with Ansible

Little repo to host ansible config about my homelab's rapberry-pi clusters and laptop

Setup & Usage

This project uses mise to manage the environment and bin/setup for initial configuration.

Initial Setup

Run the setup script to install required tools and configure the local environment:

./bin/setup

Running Playbooks

Use mise to run the defined tasks (e.g., bootstrap, maintenance, etc.):

# Examples:
mise run ansible:bootstrap            # create user + sudo + key on the homelab Pi(s)
mise run ansible:bootstrap:local      # generate/keep THIS device's SSH key, install on the host
mise run ansible:full                 # run all homelab plays (bootstrap + update)
mise run ansible:shell rasphermes "uptime"

Local SSH key (dev-tooling hygiene)

Every device gets its own SSH key. mise run ansible:bootstrap:local generates/keeps ~/.ssh/ansible.id_ed25519 and installs the key onto the homelab host. There is no committed public key — the key is pushed to the host directly from this device's local ~/.ssh/.

See the docs folder for more information and common commands.

About

Ansible config for my homelab raspberry cluster and Linux laptop

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0