mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
Roles that declare default_placement: manager in meta/services.yml are now auto-added to their own inventory group when the operator did not list them explicitly. Both the runtime constructor add_host loop and the CLI pre-flight inventory extender use the new roles_with_default_placement lookup so swarm and CLI-validation stay consistent. In compose-mode (no svc-docker-swarm-manager group), svc-prx-openresty auto-joins the first play host. run_once + ansible_play_hosts | first keeps that deterministic in multi-host compose deploys so the openresty vhost view does not fragment. The svc-cache-registry / svc-docker-registry entries previously hardcoded in scripts/tests/deploy/swarm/08_extend_inventory.sh fall out of the new dynamic loop; net inventory is unchanged. ansible_play_hosts joins the magic-var allowlist in test_variable_definitions so the constructor add_host passes integration lint. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Script Collection
This directory contains automation scripts used across the project.
-
system/ contains host and system-facing helpers.
-
container/ contains helpers that run inside the local container.
-
github/ contains GitHub workflow helper scripts.
-
For the canonical Make target index, see make.md.
-
🛠️ Organize operational helpers for development, CI, release, and maintenance
-
🧭 Separate responsibilities into focused subdirectories with clear scope
-
📚 Keep script-based workflows discoverable and easier to navigate
The scope of this folder is script organization at the repository level. Detailed responsibilities belong in the README files of the respective subdirectories.