- hosts: localhost vars: records: - record_name: test1 record_value: 1.2.3.4 record_type: "A" - record_name: test2 record_value: foobar.opendoor.fr. record_type: CNAME roles: - { role: tco.dns, dns_action: "delete", dns_records: "{{ records }}" }