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