Project

General

Profile

Actions

Bug #3803

closed

Clean up Vectra IaC drift and add tests + usage docs

Added by Fredrick Amnehagen about 6 hours ago. Updated about 5 hours ago.

Status:
Done
Priority:
High
Target version:
-
Start date:
2026-11-30
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

Value: the Vectra IaC added under #3802 must be the single source of truth, reproducible and testable.

Acceptance criteria:

  • Remove or reconcile stale static configs from 00cbe05 that drift from the rendered nginx/systemd/env files.
  • Fix HF_HOME/model-path drift between the legacy files and the Ansible-rendered environment/systemd unit.
  • Make scripts robust (no hardcoded cred paths, no shell-injected Python, JSON parsed properly, assertions in verification).
  • Pin Python dependencies, make the Ansible inventory portable, and add offline + optional live tests.
  • Add infra/README.md with exact usage, provisioning, verification, rollback and test commands.

MoSCoW: M. Points: 3. Follows #3802.

Actions

Also available in: Atom PDF