Move ansible to it's own directory structure

This commit is contained in:
2025-07-30 12:41:18 -05:00
parent 0764cc8bd7
commit 48b8548528
66 changed files with 0 additions and 6 deletions

View File

@@ -0,0 +1,16 @@
---
- name: Remove entry from DNS
hosts: all
gather_facts: false
tasks:
- name: Delete DNS entry for {{ inventory_hostname }} #on {{ groups['ipa_servers'][0] }}
delegate_to: "{{ groups['ipaserver'][0] }}"
freeipa.ansible_freeipa.ipadnsrecord:
ipaapi_context: "server"
ipaadmin_password: "{{ vault_freeipa_password }}"
zone_name: "{{ base_domain }}"
records:
- name: "{{ inventory_hostname }}"
del_all: yes
state: absent