added tags to roles

This commit is contained in:
2026-09-16 13:33:27 -06:00
parent ba1d2e80ae
commit e43552b15d
2 changed files with 47 additions and 11 deletions

View File

@@ -4,4 +4,28 @@
ansible-playbook -i inventory.ini ansible-playbook.yml --ask-become-pass
```
Internal Applications for home use all in Podman Ansible playbooks
Internal Applications for home use all in Podman Ansible playbooks
## Running individual roles
Each role is tagged with its name — run one or more with `--tags`:
```bash
# Run one role
ansible-playbook -i inventory.ini ansible-playbook.yml --tags minecraft --ask-become-pass
# Run several
ansible-playbook -i inventory.ini ansible-playbook.yml --tags "jellyfin,gitea" --ask-become-pass
# Pre-pull all images only
ansible-playbook -i inventory.ini ansible-playbook.yml --tags images --ask-become-pass
# Skip one
ansible-playbook -i inventory.ini ansible-playbook.yml --skip-tags wazuh --ask-become-pass
# Full run (no --tags) — unchanged behavior
```
Tags: `packages`, `directories`, `sysctl`, `network`, `wireguard`, `npm`, `gitea`, `jellyfin`, `wazuh`, `minecraft`, `images`
Note: `--tags` runs skip the bulk image pull (tagged `images`); containers auto-pull their image on deploy (`podman_container` pull policy defaults to `missing`).