A collection of Ansible roles to manage the various tasks in my homelab.
Find a file
GregoryDosh f6a9a58ab3
All checks were successful
Publish Release / Publish Release (push) Successful in 12s
feat: template modules a bit more for ease of consumption in lab
2024-06-25 07:50:35 -05:00
.forgejo/workflows use correct token 2024-06-24 22:14:23 -05:00
meta collection squash & refactor 2024-03-18 23:03:35 -05:00
roles feat: template modules a bit more for ease of consumption in lab 2024-06-25 07:50:35 -05:00
.renovaterc.json5 chore: consistency sweeping with host-* repos 2024-06-20 08:19:46 -05:00
galaxy.yml chore: galaxy filepath updates 2024-06-20 13:20:13 +00:00
LICENSE.md chore: consistency sweeping with host-* repos 2024-06-20 08:19:46 -05:00
README.md chore: consistency sweeping with host-* repos 2024-06-20 08:19:46 -05:00

Ansible Collection auengun.homelab

A collection of Ansible roles to manage the various tasks in my homelab.

Collection Installation

Python/Poetry Dependencies

TODO: Document these better in version control with renovate.

If using Poetry, this is an example pyproject.toml snippet to install the required Python dependencies.

[tool.poetry.dependencies]
python = "^3.10"
ansible = "^9.2"
ansible-core = "^2.16"
jmespath = "^1.0.1"
passlib = "^1.7.4"

Ansible Galaxy - requirements.yml

Add the following snippet to Ansible Galaxy's requirements.yml file.

collections:
- name: ssh://git@git.auengun.net/homelab/ansible-collection.git
  type: git
  # Note: it's better to pin to a commit than main.
  version: main

Then install using ansible-galaxy.

ansible-galaxy collection install -r requirements.yml

Roles

auengun.homelab.common

A set of shifting common tasks for bootstrapping and setting up the many physical and virtual machines in my homelab.

Read the README.md for usage and configuration details.

auengun.homelab.dcaass

Wraps a docker-compose.yml with a systemd service and easy user overrides of the .yml config.

Read the README.md for usage and configuration details.

auengun.homelab.cron_healthcheck_script

Quickly wrap a basic shell script with a crontab schedule and Healthchecks.io alert.

Read the README.md for usage and configuration details.