--- - 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