initial(main): Add files for basic gridscale deployment of 2 hosts with config

This commit is contained in:
Richard
2026-07-28 17:41:48 +02:00
commit 85c3525895
12 changed files with 634 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
output "caddy_public_ip" {
description = "Public IPv4 address of the Caddy server"
value = gridscale_ipv4.public_ipv4.ip
}
output "monitoring_public_ip" {
description = "Public IPv4 address of the Monitoring server"
value = gridscale_ipv4.public_ipv4_monitoring.ip
}
output "caddy_private_ip" {
description = "Private IPv4 address of the Caddy server"
value = gridscale_server.server_caddy.network[1].auto_assigned_ip
}
output "monitoring_private_ip" {
description = "Private IPv4 address of the Monitoring server"
value = gridscale_server.server_monitoring.network[1].auto_assigned_ip
}
output "ansible_inventory" {
description = "Generated Ansible inventory content"
value = local_file.ansible_inventory.content
}