Inventory & Lifecycle Management #
Documents how infrastructure assets are tracked, managed, and retired.
Scope #
This section includes:
- Host identity and inventory sources of truth
- Hardware lifecycle stages (active, standby, retired)
- Image and configuration lifecycle expectations
- Decommissioning and cleanup principles
This section ensures infrastructure ages intentionally, not accidentally.
Lifecycle Stages #
| Stage | Description |
|---|---|
| Provisioning | Host being set up, not yet in service |
| Active | In production use |
| Standby | Available but not currently assigned |
| Maintenance | Temporarily offline for updates/repairs |
| Retired | Decommissioned, removed from inventory |
Inventory Sources of Truth #
- ansible-inventory-deevnet - Canonical host identity
- OPNsense - Authoritative DNS/DHCP (production)
- Bootstrap node - Authoritative DNS/DHCP (during provisioning)
Decommissioning #
When retiring a host:
- Remove from active service (update DNS CNAMEs)
- Run cleanup playbook (remove secrets, keys)
- Update inventory status to retired
- Archive or wipe storage as appropriate
- Update documentation