initial(main): Add files for basic gridscale deployment of 2 hosts with config
This commit is contained in:
+24
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user