Skip to content

zotabee/ansible-homelab

Repository files navigation

ansible-homelab

Ansible playbooks for managing my homelab

Required base project

Companion project of Pro-Tweaker/SEEDbox

Getting Started (Debian distrib)

Install git, python, pip, ansible, ansible-lint and yamllint:

sudo apt install git python3 pip ansible ansible-lint yamllint

Clone the repo:

git clone https://github.com/zotabee/ansible-homelab.git
cd ansible-homelab/

Run Ansible playbook:

sudo ansible-playbook ansible-homelab.yml
sudo ansible-playbook ansible-homelab.yml --tags=homebox

Testing and linting

All Ansible playbooks and yaml files are checked and fully linted through:

Command Passed
yamllint
ansible-playbook --syntax-check
ansible-lint (production level)
ansible-playbook --check (against prod)

Linting commands:

# yamllint
yamllint --list-files .
yamllint .

# ansible-playbook --syntax-check
ansible-playbook ansible-homelab.yml --syntax-check

# ansible-lint (production level)
ansible-lint

# ansible-playbook --check (against prod)
ansible-playbook ansible-homelab.yml --check
ansible-playbook ansible-homelab.yml --tags=homebox --check

Credits

Project inspired by:

Dylancyclone/ansible-homelab-orchestration

saltyorg/Saltbox

Cloudbox/Cloudbox

Jeff Geerling aka geerlingguy

Ansible for DevOps (Jeff's book)

About

Ansible playbooks for managing my homelab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors