mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 03:38:23 +00:00
DEPLOYMENT_MODE is now derived per role from group membership: swarm iff len(groups[application_id]) > 1, else compose. The cluster infrastructure flag SWARM_CLUSTER_AVAILABLE is true whenever any host sits in svc-docker-swarm, so DB and proxy services render attachable overlay networks even when their own group lists only one host. All service_is_stateful flags are removed across svc-db-mariadb, svc-db-postgres, svc-db-openldap, svc-prx-openresty, svc-docker-registry and svc-db-mariadb's compose template; the inventory shape now expresses the same intent. Cluster-wide handlers (swarm build/push/validate/deploy, external network creation, DB healthcheck) gain run_once + delegate_to the manager so they execute exactly once regardless of how many hosts the role's play targets. CA-injection and compose validate are gated to compose-mode only; their compose-config strictness breaks when the deploy block coexists with container_name under swarm. Dead per-host swarm-resolve infrastructure is removed: swarm_resolve_ container.sh, resolve_container.yml, resolve_self.yml, the MariaDB- specific swarm_mariadb_cid.sh, the cross-host template replication step, and the _swarm_retries / _swarm_delay defaults. With run_once + delegate_to: manager replacing the old "render every template on every swarm peer" pattern, every consumer becomes a noop on workers and collapses to the manager's one-shot path. The web-app-nextcloud memcache override mapping flips from the legacy "single" sentinel to "compose" (semantically equivalent under the new model). Requirement 023 is updated to reflect the new model and drops the now-irrelevant per-role opt-out / placement-constraint clauses. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Documentation 📝
This directory contains the repository documentation published for Infinito.Nexus. Its scope is contributor guidance, agent instructions, operational guides, requirements, and security guidance across the project.