Plugin de forja — infraestructura como código con Ansible
Project description
forja-infra
Plugin de forja — infraestructura como código con Ansible para proyectos forja.
pip install forja forja-infra
dfg init mi_infra --arch infra
Qué genera
mi_infra/
├── ansible.cfg
├── requirements.yml # colecciones Ansible Galaxy
├── inventory/
│ ├── hosts.yml # servidores objetivo
│ └── group_vars/
│ └── all.yml # variables globales
├── playbooks/
│ ├── provision.yml # setup base (Python, Docker, Postgres)
│ ├── provision_kafka.yml # brokers Kafka (para forja-streaming)
│ ├── provision_lakehouse.yml # DuckDB serving (para forja-lakehouse)
│ └── deploy.yml # deploy del proyecto forja
└── roles/
├── common/ # Python, Docker
├── postgres/ # Postgres 16 via Docker
├── kafka/ # Kafka KRaft via Docker
└── duckdb/ # DuckDB CLI + storage
Uso
# 1. Instalar Ansible y colecciones
make install
# 2. Editar inventory/hosts.yml con tus IPs
# 3. Editar inventory/group_vars/all.yml con tus passwords
# 4. Verificar conectividad
make ping
# 5. Provisionar según tu stack
make provision # ETL (Postgres)
make provision-kafka # + Kafka (streaming)
make provision-lakehouse # + DuckDB (lakehouse)
# 6. Desplegar el proyecto
make deploy
Compatibilidad con plugins forja
| Plugin | Playbook |
|---|---|
forja (ETL, hexagonal) |
provision.yml |
forja-streaming |
provision_kafka.yml |
forja-lakehouse |
provision_lakehouse.yml |
Licencia
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
forja_infra-0.1.0.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file forja_infra-0.1.0.tar.gz.
File metadata
- Download URL: forja_infra-0.1.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efc3a908c5436ffb8f2e3aecdb5e088dde90305e4e4177a6d29bc9d72cccaf74
|
|
| MD5 |
8a1ff84543820de8af139695c9a2837c
|
|
| BLAKE2b-256 |
d6d860ce4fd242f358034c5ce60a937267ee1edbadee3b5122a4a6612a91036e
|
File details
Details for the file forja_infra-0.1.0-py3-none-any.whl.
File metadata
- Download URL: forja_infra-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c8b7bfd8b6315a5b04f4e92cb30cf428ac4cada4e15626e0a86df7e511d8608
|
|
| MD5 |
7a4c2db6c7f938d9e4c6e3cf070b5ace
|
|
| BLAKE2b-256 |
11a3972b2b8e9af2fea37616e78d675727df4816e637631c076b1de452ee0e90
|