HomeLab
September 1, 2025 ยท View on GitHub
This repo contains Ansible playbooks, Bash scripts, and OpenTofu configurations for things in my HomeLab.
pre-commit
Ensure podman works and docker CLI works with podman engine:
brew install podman docker
podman machine init
podman machine start
sudo podman-mac-helper
Pull megalinter image:
docker pull docker.io/oxsecurity/megalinter:v8
Create MegaLinter config:
npx mega-linter-runner --install
Add pre-commit hook:
prek install
Run pre-commit hook:
prek
Upgrade pre-commit hook:
prek autoupdate --freeze
The prek hook uses megalinter-full as the container name. If it is already started and you cancel it, you need to remove that container:
docker container stop megalinter-full