Ansible playbooks for my homelab
This repo is being used to push configurations to my homelab via SSH.
I'm in the process of using my Homelab Pull repo as a test of using GitOps, similar to Flux CD, to configure my homelab by having each container pull this repo periodically and run ansible locally. Pros of this method are discussed in this Learn Linux TV video.
A downside is that ansible-pull
needs to be installed on all containers, thus taking up resources, which goes against my general homelab methodology.
ansible-playbook playbooks/setup_lxc.yaml
Vault password:
Variables are stored in roles/<role>/vars/main.yaml
which is encrypted using ansible-vault.
The vault password is prompted during run.
# roles/<role>/vars/main.yaml
---
lxc_user: foo
ansible_user: bar
ansible_password: baz
βThis project was started in 2024 by Nicholas Wilde.