diff --git a/docs/audit/preuve-2026-08-09.md b/docs/audit/preuve-2026-08-09.md index 72c3764..88c59a0 100644 --- a/docs/audit/preuve-2026-08-09.md +++ b/docs/audit/preuve-2026-08-09.md @@ -7,14 +7,14 @@ > [`docs/audit/affirmations.md`](affirmations.md). - **Instance** : `instance` — inventaire `instance/inventories/principal/hosts.yml` -- **Verdict** : ❌ NON CONFORME (32 OK · 1 echec · 0 saute) +- **Verdict** : ✅ CONFORME (33 OK · 0 echec · 0 saute) ## Preuves | # | Preuve | Affirmations | Statut | Detail | |---|---|---|---|---| | P01 | Lint (ansible-lint) | AFF-006 | ✅ OK |  | -| P02 | Tests unitaires (inventory_host) | — | ❌ ECHEC | rc=1 : AssertionError: ["SETOPS_VMID='93101'", "SETOPS_IP='10.0.2.11'", "SETOPS_CIDR='24'", "SETOPS_PASSERELLE='10.0.2.1'", "SETOPS_VLAN='13'", "SETOPS_PONT=''" | +| P02 | Tests unitaires (inventory_host) | — | ✅ OK | >>> le verrou tient : aucune VM n'aurait ete touchee | | P03 | Diff-vide du plan (inventaire genere) | AFF-001, AFF-004, AFF-030, AFF-031, AFF-032 | ✅ OK | DIFF VIDE : le plan reproduit exactement l'inventaire actuel. Bascule possible. | | P04 | Groupes <-> playbooks homonymes | AFF-008 | ✅ OK | | | P05 | Dependances causales de groupes | AFF-009, AFF-084 | ✅ OK | | diff --git a/scripts/tests/test_inventory_host.py b/scripts/tests/test_inventory_host.py index ce0c811..646192d 100644 --- a/scripts/tests/test_inventory_host.py +++ b/scripts/tests/test_inventory_host.py @@ -96,6 +96,11 @@ def test_hote_complet_avec_noeud() -> None: "SETOPS_COEURS='4'", "SETOPS_MEMOIRE='2048'", "SETOPS_DNS=''", + # Ajoute le 2026-08-09 : le domaine de recherche cloud-init se derive de + # `domaine_interne`, comme le DNS. Ce test epingle le CONTRAT de + # `parametres-proxmox` — un export de plus est un changement de contrat, et + # c'est bien lui qui l'a signale. + "SETOPS_DOMAINE=''", } assert set(lignes) == attendu, lignes