pull in gnunn's cluster-config repo

This commit is contained in:
2025-03-29 14:24:43 -05:00
parent 28fc82623a
commit 413b2a9b7c
77 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
// Terraform DNS entry template
resource "freeipa_dns_record" "{{ inventory_hostname }}" {
zone_name = "{{ base_domain }}."
name = "{{ inventory_hostname }}"
type = "A"
records = [
"{{ ip_address }}",
]
ttl = 60
}

View File

@@ -0,0 +1,32 @@
# Configure the DNS Provider
provider "freeipa" {
host = var.freeipa_server
username = var.freeipa_admin
password = var.freeipa_password
insecure = true
}
variable "freeipa_server" {
description = "The server for the FreeIPA provider"
type = string
}
variable "freeipa_admin" {
description = "The admin username for the FreeIPA provider"
type = string
}
variable "freeipa_password" {
description = "The password for the FreeIPA provider"
type = string
sensitive = true
}
terraform {
required_providers {
freeipa = {
source = "rework-space-com/freeipa"
version = "5.0.0"
}
}
}