fix(iwooos): verify wazuh manager postconditions
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m28s
CD Pipeline / build-and-deploy (push) Successful in 9m2s
CD Pipeline / post-deploy-checks (push) Successful in 2m14s

This commit is contained in:
ogt
2026-07-11 09:35:31 +08:00
parent 93510c0703
commit 208fbbe32a
2 changed files with 30 additions and 0 deletions

View File

@@ -44,6 +44,20 @@ ProbeRunner = Callable[..., Awaitable[ReadOnlyProbeResult]]
_POSTCONDITION_REGISTRY: dict[str, tuple[AssetPostcondition, ...]] = {
"ansible:wazuh-manager-posture-readback": (
AssetPostcondition(
"host_112_wazuh_manager_control_binary",
"security",
"host_112",
"test -f /var/ossec/bin/wazuh-control",
),
AssetPostcondition(
"host_112_wazuh_manager_runtime",
"service",
"host_112",
"systemctl is-active --quiet wazuh-manager.service",
),
),
"ansible:110-devops": (
AssetPostcondition(
"host_110_docker_runtime",