added tags to roles
This commit is contained in:
26
README.md
26
README.md
@@ -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`).
|
||||
Reference in New Issue
Block a user