This commit is contained in:
2025-10-19 17:02:16 -05:00
parent 3f31f77bc8
commit 702c71fcff
222 changed files with 2834 additions and 10845 deletions

View File

@@ -0,0 +1,20 @@
---
# Reusable task file for adding Technitium DNS entries
# This replaces the standalone playbook and can be imported into any playbook
# - name: Display cluster_name
# ansible.builtin.debug:
# msg: "{{ host_name }} - {{ ip_address }} - {{ vault_technitium_api_key }}"
- name: Create DNS A Record entry for {{ host_name }}
delegate_to: localhost
effectivelywild.technitium_dns.technitium_dns_add_record:
api_url: "http://{{ dns_server }}.{{ base_domain }}"
api_token: "{{ vault_technitium_api_key }}"
zone: "{{ base_domain }}"
name: "{{ host_name }}.{{ base_domain }}"
type: "A"
ipAddress: "{{ ip_address }}"
ptr: true
ttl: 360
validate_certs: false