24 lines
765 B
Markdown
24 lines
765 B
Markdown
# infra-run/ansible/inventory
|
|
|
|
This directory is intended for Ansible inventory definitions. It separates shared variables from host-specific values to support clean environment modeling and safer automation.
|
|
|
|
## Diagram
|
|
|
|
```mermaid
|
|
flowchart TD
|
|
A["inventory"] --> B["group_vars"] --> C["host_vars"]
|
|
click A href "./" "inventory"
|
|
click B href "./group_vars/" "group_vars"
|
|
click C href "./host_vars/" "host_vars"
|
|
```
|
|
|
|
## Scope
|
|
|
|
- `group_vars` - variables applied at group or environment level.
|
|
- `host_vars` - variables tailored to individual nodes.
|
|
|
|
## Notes
|
|
|
|
- The structure is present even though the repository currently keeps this area sanitized and mostly empty.
|
|
- This is the natural companion to future playbooks and roles under `infra-run/ansible`.
|