make instancier genere hosts.genere.yml (gitignore) depuis le plan (serveurs.yml + applications.yml + nomenclature.yml) et compare SEMANTIQUEMENT a l'inventaire actuel via ansible-inventory --list. - scripts/instancier.py : generer + comparer (host vars derives, groupes derives = socle + services (applications) + integrations (clients_*) + etat). - serveurs.py bootstrap capture les clients_* comme 'integrations' par VM. - inventory_rules : valide 'integrations'. Resultat : DIFF VIDE -- le plan reproduit exactement les 13 hotes. La bascule (hosts.yml genere + UI editant le plan) reste NON effectuee : elle attend une validation explicite. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
103 lines
2 KiB
YAML
103 lines
2 KiB
YAML
# Registre des serveurs (VM) du plan Set-OPS.
|
|
# Bootstrape depuis l'inventaire (make serveurs-bootstrap). L'inventaire
|
|
# reste autorite en Phase 2 ; VMID/IP/VLAN/passerelle sont DERIVES de la
|
|
# fonction via docs/nomenclature.yml (non stockes ici).
|
|
---
|
|
serveurs:
|
|
collab-01:
|
|
fonction: collab
|
|
etat: planifie
|
|
stockage: TrueNAS
|
|
disque: 16G
|
|
memoire: 2048
|
|
coeurs: 2
|
|
integrations:
|
|
- clients_dns
|
|
data-01:
|
|
fonction: data
|
|
etat: planifie
|
|
noeud: asgard
|
|
stockage: TrueNAS
|
|
disque: 160G
|
|
memoire: 2048
|
|
coeurs: 4
|
|
forge-01:
|
|
fonction: forge
|
|
etat: planifie
|
|
stockage: TrueNAS
|
|
disque: 16G
|
|
memoire: 2048
|
|
coeurs: 2
|
|
idm-01:
|
|
fonction: idm
|
|
etat: planifie
|
|
stockage: TrueNAS
|
|
disque: 16G
|
|
memoire: 2048
|
|
coeurs: 2
|
|
infra-dns-01:
|
|
fonction: infra-dns
|
|
etat: planifie
|
|
stockage: TrueNAS
|
|
disque: 16G
|
|
memoire: 2048
|
|
coeurs: 2
|
|
infra-edge-01:
|
|
fonction: infra-edge
|
|
etat: planifie
|
|
stockage: TrueNAS
|
|
disque: 16G
|
|
memoire: 2048
|
|
coeurs: 2
|
|
infra-mail-01:
|
|
fonction: infra-mail
|
|
etat: planifie
|
|
stockage: TrueNAS
|
|
disque: 16G
|
|
memoire: 2048
|
|
coeurs: 2
|
|
infra-pki-01:
|
|
fonction: infra-pki
|
|
etat: planifie
|
|
stockage: TrueNAS
|
|
disque: 16G
|
|
memoire: 2048
|
|
coeurs: 2
|
|
mon-01:
|
|
fonction: mon
|
|
etat: planifie
|
|
stockage: TrueNAS
|
|
disque: 16G
|
|
memoire: 2048
|
|
coeurs: 2
|
|
obs-01:
|
|
fonction: obs
|
|
etat: planifie
|
|
stockage: TrueNAS
|
|
disque: 16G
|
|
memoire: 2048
|
|
coeurs: 4
|
|
web-dorsal-01:
|
|
fonction: web-dorsal
|
|
etat: planifie
|
|
stockage: TrueNAS
|
|
disque: 16G
|
|
memoire: 2048
|
|
coeurs: 2
|
|
web-frontal-01:
|
|
fonction: web-frontal
|
|
etat: planifie
|
|
stockage: TrueNAS
|
|
disque: 16G
|
|
memoire: 2048
|
|
coeurs: 2
|
|
integrations:
|
|
- clients_dns
|
|
- clients_supervision
|
|
web-frontal-02:
|
|
fonction: web-frontal
|
|
etat: planifie
|
|
stockage: TrueNAS
|
|
disque: 16G
|
|
memoire: 2048
|
|
coeurs: 2
|