roles/docker_stack: copies a stack's docker-compose.yml to /home/pi/docker/<service>/ and runs docker compose up through community.docker.docker_compose_v2. Fails early if no stack name is given.
stacks/it-tools and playbooks/docker_stacks.yml: adopt it-tools as the first stack. The image stays on latest with its Watchtower label until there is an image pinning strategy.
collections/requirements.yml: pins community.docker 5.4.1. CI installs it before linting, because ansible-core ships only ansible.builtin.
.gitea/workflows/deploy-stacks.yaml: manual workflow on the ansible runner that installs the pinned collections and runs the playbook with --diff.
CLAUDE.md: drop the no-change dry run requirement for adopting a stack.
Nothing deploys on merge. The deploy workflow only runs when triggered by hand.
First Docker stack managed by Ansible.
- `roles/docker_stack`: copies a stack's `docker-compose.yml` to `/home/pi/docker/<service>/` and runs `docker compose up` through `community.docker.docker_compose_v2`. Fails early if no stack name is given.
- `stacks/it-tools` and `playbooks/docker_stacks.yml`: adopt `it-tools` as the first stack. The image stays on `latest` with its Watchtower label until there is an image pinning strategy.
- `collections/requirements.yml`: pins `community.docker` 5.4.1. CI installs it before linting, because `ansible-core` ships only `ansible.builtin`.
- `.gitea/workflows/deploy-stacks.yaml`: manual workflow on the `ansible` runner that installs the pinned collections and runs the playbook with `--diff`.
- `CLAUDE.md`: drop the no-change dry run requirement for adopting a stack.
Nothing deploys on merge. The deploy workflow only runs when triggered by hand.
stacks/it-tools/docker-compose.yml:3: image stays on latest with the Watchtower label, which conflicts with the CLAUDE.md adoption rule. nit (accepted deviation: owner decided on 2026-11-27 to keep both until there is an image pinning strategy; CLAUDE.md not yet updated to say so)
.gitea/workflows/deploy-stacks.yaml:4: workflow_dispatch can run from any branch, so unmerged code could deploy. pre-existing (any branch can already target the ansible runner; an if on the ref inside the workflow is bypassable from that same branch; tracked as runner isolation, to be limited before deploy-on-merge)
roles/docker_stack/tasks/main.yml:10: copy fails for a stack whose folder doesn't exist on the host yet. nit (adopted stacks already have their folder; needed before the first new stack)
roles/docker_stack/tasks/main.yml:15: no health check after docker_compose_v2. nit (planned step after adoption)
.gitea/workflows/deploy-stacks.yaml:7: no concurrency guard against two parallel manual runs. nit
stacks/it-tools/docker-compose.yml:10: PUID/PGID are likely ignored by this image. nit (kept identical to the live file)
Dropped: missing --check dry run (owner decision, CLAUDE.md updated in this PR) and the playbook_dir-based source path (owner decision: playbooks always live in playbooks/).
<!-- claude-review: pass 1b25ff14500bd7329d463fee1fe5f7072fe571b0 -->
## Review
Effort: medium
- `stacks/it-tools/docker-compose.yml:3`: image stays on `latest` with the Watchtower label, which conflicts with the CLAUDE.md adoption rule. nit (accepted deviation: owner decided on 2026-11-27 to keep both until there is an image pinning strategy; CLAUDE.md not yet updated to say so)
- `.gitea/workflows/deploy-stacks.yaml:4`: `workflow_dispatch` can run from any branch, so unmerged code could deploy. pre-existing (any branch can already target the `ansible` runner; an `if` on the ref inside the workflow is bypassable from that same branch; tracked as runner isolation, to be limited before deploy-on-merge)
- `roles/docker_stack/tasks/main.yml:10`: copy fails for a stack whose folder doesn't exist on the host yet. nit (adopted stacks already have their folder; needed before the first new stack)
- `roles/docker_stack/tasks/main.yml:15`: no health check after `docker_compose_v2`. nit (planned step after adoption)
- `.gitea/workflows/deploy-stacks.yaml:7`: no concurrency guard against two parallel manual runs. nit
- `stacks/it-tools/docker-compose.yml:10`: `PUID`/`PGID` are likely ignored by this image. nit (kept identical to the live file)
Dropped: missing `--check` dry run (owner decision, CLAUDE.md updated in this PR) and the `playbook_dir`-based source path (owner decision: playbooks always live in `playbooks/`).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
First Docker stack managed by Ansible.
roles/docker_stack: copies a stack'sdocker-compose.ymlto/home/pi/docker/<service>/and runsdocker compose upthroughcommunity.docker.docker_compose_v2. Fails early if no stack name is given.stacks/it-toolsandplaybooks/docker_stacks.yml: adoptit-toolsas the first stack. The image stays onlatestwith its Watchtower label until there is an image pinning strategy.collections/requirements.yml: pinscommunity.docker5.4.1. CI installs it before linting, becauseansible-coreships onlyansible.builtin..gitea/workflows/deploy-stacks.yaml: manual workflow on theansiblerunner that installs the pinned collections and runs the playbook with--diff.CLAUDE.md: drop the no-change dry run requirement for adopting a stack.Nothing deploys on merge. The deploy workflow only runs when triggered by hand.
Review
Effort: medium
stacks/it-tools/docker-compose.yml:3: image stays onlatestwith the Watchtower label, which conflicts with the CLAUDE.md adoption rule. nit (accepted deviation: owner decided on 2026-11-27 to keep both until there is an image pinning strategy; CLAUDE.md not yet updated to say so).gitea/workflows/deploy-stacks.yaml:4:workflow_dispatchcan run from any branch, so unmerged code could deploy. pre-existing (any branch can already target theansiblerunner; anifon the ref inside the workflow is bypassable from that same branch; tracked as runner isolation, to be limited before deploy-on-merge)roles/docker_stack/tasks/main.yml:10: copy fails for a stack whose folder doesn't exist on the host yet. nit (adopted stacks already have their folder; needed before the first new stack)roles/docker_stack/tasks/main.yml:15: no health check afterdocker_compose_v2. nit (planned step after adoption).gitea/workflows/deploy-stacks.yaml:7: no concurrency guard against two parallel manual runs. nitstacks/it-tools/docker-compose.yml:10:PUID/PGIDare likely ignored by this image. nit (kept identical to the live file)Dropped: missing
--checkdry run (owner decision, CLAUDE.md updated in this PR) and theplaybook_dir-based source path (owner decision: playbooks always live inplaybooks/).