Approve the plan to install upstream release binaries

This commit is contained in:
2026-12-04 17:07:43 +00:00
parent 4f2fdb8865
commit 59799fe427
7 changed files with 871 additions and 72 deletions

View File

@@ -3,6 +3,18 @@
This policy is normative for designing, implementing, and reviewing Ansible
roles and collections in this workspace.
## Application Binary Installation
- Install managed application executables from upstream-published binary
assets for an explicitly selected release and the target architecture.
A release tag or source archive alone is not a binary release.
- Production application binaries must not be compiled from source on the
managed host, controller, or elsewhere in this workspace as a deployment
workaround. Missing release artifacts are an upstream delivery prerequisite,
not a reason to fall back to a build.
- Use ordinary Ansible download/install modules. Preserve upstream binary
bytes and keep version selection independent of application configuration.
## Role Implementation
- Always use the smallest clear sequence of declarative tasks that reaches the
@@ -20,8 +32,7 @@ roles and collections in this workspace.
checks necessary to manage that state. Inspect it beforehand only when the
observed state is independently required.
- State inspection is justified when its result is necessary to decide whether
an imperative operation must run, such as checking whether an arbitrary
build command's output exists.
an imperative operation outside a state-management module must run.
- Production role tasks establish required application state; they do not test
the role's own implementation. Put implementation verification in
repository-local tests unless the specification explicitly requires runtime