Skip to main content

torrust_tracker_deployer_lib/application/steps/rendering/
mod.rs

1//! Template and configuration rendering steps
2//!
3//! This module contains steps that handle template and configuration generation
4//! for the deployment system. These steps prepare configuration files and
5//! templates with dynamic content for deployment.
6//!
7//! ## Available Steps
8//!
9//! - `ansible_templates` - Ansible template rendering with runtime variables
10//! - `opentofu_templates` - `OpenTofu` template rendering for infrastructure
11//! - `docker_compose_templates` - Docker Compose template rendering for deployment
12//! - `tracker_templates` - Tracker configuration template rendering
13//! - `prometheus_templates` - Prometheus configuration template rendering
14//! - `grafana_templates` - Grafana provisioning template rendering
15//! - `backup_templates` - Backup configuration template rendering
16//!
17//! ## Key Features
18//!
19//! - Dynamic template rendering with deployment-specific variables
20//! - Support for multiple template engines and formats
21//! - Integration with the step-based deployment architecture
22//! - Comprehensive error handling for template processing
23//!
24//! These steps are essential for generating configuration files that contain
25//! runtime information like IP addresses, SSH keys, and deployment settings.
26
27pub mod ansible_templates;
28pub mod backup_templates;
29pub mod caddy_templates;
30pub mod docker_compose_templates;
31pub mod grafana_templates;
32pub mod opentofu_templates;
33pub mod prometheus_templates;
34pub mod tracker_templates;
35
36pub use ansible_templates::RenderAnsibleTemplatesStep;
37pub use backup_templates::RenderBackupTemplatesStep;
38pub use caddy_templates::RenderCaddyTemplatesStep;
39pub use docker_compose_templates::RenderDockerComposeTemplatesStep;
40pub use grafana_templates::RenderGrafanaTemplatesStep;
41pub use opentofu_templates::RenderOpenTofuTemplatesStep;
42pub use prometheus_templates::RenderPrometheusTemplatesStep;
43pub use tracker_templates::RenderTrackerTemplatesStep;