This commit is contained in:
2025-03-26 10:52:39 -05:00
parent 6ab1d11d79
commit bc4d380c06
11 changed files with 136 additions and 6 deletions

11
templates/dns.tf.j2 Normal file
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 = [
"{{ hostvars[inventory_hostname].ip_address }}",
]
ttl = 60
}