Files
ansible-freeipa/playbooks/dnsrecord/ensure-dnsrecord-is-absent.yml
2021-09-29 15:49:01 -03:00

16 lines
349 B
YAML

---
- name: Playbook to manage DNS records.
hosts: ipaserver
become: true
gather_facts: false
tasks:
- name: Ensure that dns localhost AAAA record is absent
ipadnsrecord:
ipaadmin_password: SomeADMINpassword
name: host01
zone_name: example.com
record_type: 'AAAA'
record_value: '::1'
state: absent