refactor: update project references from Agathos to Ouranos across documentation and configuration files
This commit is contained in:
@@ -28,9 +28,9 @@ Never rely solely on implicit resource ordering for critical infrastructure. Cod
|
||||
|
||||
## Repository Strategy
|
||||
|
||||
### Agathos (Sandbox)
|
||||
### Ouranos (Sandbox)
|
||||
|
||||
Agathos is the **Sandbox repository** — isolated, safe for external demos, and uses local state.
|
||||
Ouranos is the **Sandbox repository** — isolated, safe for external demos, and uses local state.
|
||||
|
||||
| Aspect | Decision |
|
||||
|--------|----------|
|
||||
@@ -78,7 +78,7 @@ A pattern is a good module candidate when it meets these criteria:
|
||||
|
||||
### The `incus_host` Module
|
||||
|
||||
The standard container provisioning pattern extracted from Agathos:
|
||||
The standard container provisioning pattern extracted from Ouranos:
|
||||
|
||||
**Inputs:**
|
||||
- `hosts` — Map of host definitions (name, role, image, devices, config)
|
||||
@@ -123,7 +123,7 @@ Key differences in tfvars:
|
||||
|
||||
## State Management
|
||||
|
||||
### Sandbox (Agathos)
|
||||
### Sandbox (Ouranos)
|
||||
|
||||
Local state is acceptable because:
|
||||
- Environment is ephemeral
|
||||
@@ -154,10 +154,10 @@ terraform {
|
||||
|
||||
### Terraform → DHCP/DNS
|
||||
|
||||
The `agathos_inventory` output provides host information for DHCP/DNS provisioning:
|
||||
The `ouranos_inventory` output provides host information for DHCP/DNS provisioning:
|
||||
|
||||
1. Terraform creates containers with cloud-init
|
||||
2. `agathos_inventory` output includes hostnames and IPs
|
||||
2. `ouranos_inventory` output includes hostnames and IPs
|
||||
3. MAC addresses registered in DHCP server
|
||||
4. DHCP server creates DNS entries (`hostname.incus` domain)
|
||||
5. Ansible uses DNS names for host connectivity
|
||||
@@ -185,7 +185,7 @@ ubuntu:
|
||||
The `ssh_key_update.sh` script demonstrates proper integration:
|
||||
|
||||
```bash
|
||||
terraform output -json agathos_inventory | jq -r \
|
||||
terraform output -json ouranos_inventory | jq -r \
|
||||
'.uranian_hosts.hosts | to_entries[] | "\(.key) \(.value.ipv4)"' | \
|
||||
while read hostname ip; do
|
||||
ssh-keyscan -H "$ip" >> ~/.ssh/known_hosts
|
||||
@@ -198,7 +198,7 @@ terraform output -json agathos_inventory | jq -r \
|
||||
All infrastructure changes flow through this pipeline:
|
||||
|
||||
```
|
||||
Agathos (Sandbox)
|
||||
Ouranos (Sandbox)
|
||||
↓ Validate pattern works
|
||||
↓ Extract to module if reusable
|
||||
Dev
|
||||
@@ -213,7 +213,7 @@ Prod
|
||||
↓ Deploy from tested artifacts
|
||||
```
|
||||
|
||||
**Critical:** Nothing starts in Prod. Every change originates in Agathos, is validated through the pipeline, and only then deployed to production.
|
||||
**Critical:** Nothing starts in Prod. Every change originates in Ouranos, is validated through the pipeline, and only then deployed to production.
|
||||
|
||||
### Promotion Includes
|
||||
|
||||
@@ -224,12 +224,12 @@ When promoting Terraform changes, always update corresponding:
|
||||
|
||||
## Output Conventions
|
||||
|
||||
### `agathos_inventory`
|
||||
### `ouranos_inventory`
|
||||
|
||||
The primary output for documentation and DNS integration:
|
||||
|
||||
```hcl
|
||||
output "agathos_inventory" {
|
||||
output "ouranos_inventory" {
|
||||
description = "Host inventory for documentation and DHCP/DNS provisioning"
|
||||
value = {
|
||||
uranian_hosts = {
|
||||
|
||||
Reference in New Issue
Block a user