No results
Table of Contents
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
container (Bash-Scripts to Ansible)
Location: Bash-Scripts to Ansible/container/
Playbook that starts all configured Podman Compose stacks for a homelab, both rootless and root.
What it does
- Ensures Podman is installed.
- Starts rootless compose stacks from
~/homelab/<stack>(e.g. jellyfin, audiobookshelf, wordpress). - Starts root compose stacks (e.g. nginx-proxy-manager) from the same base directory.
- Prints which stacks were started.
Files
| File | Purpose |
|---|---|
| podmanUp.yml | Main playbook; runs against localhost with connection: local. |
Configuration
Edit vars in podmanUp.yml to match your setup:
- base_dir – Base directory for compose projects (default:
~/homelab). - compose_dirs – List of subdirectories for rootless stacks (e.g. jellyfin, audiobookshelf, wordpress).
- root_dirs – List of subdirectories for root stacks (e.g. nginx-proxy-manager).
Each entry must be a folder under base_dir containing a compose file (e.g. compose.yaml or docker-compose.yml).
How to run
From the repo root (or with the correct path to the playbook):
ansible-playbook "Bash-Scripts to Ansible/container/podmanUp.yml" -K
-K is needed because the playbook uses become: true to install Podman and to run root stacks.