test using a list of records
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
remote_user: root
|
||||
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:
|
||||
- tco.dns
|
||||
- { role: tco.dns, dns_action: "delete", dns_records: "{{ records }}" }
|
||||
Reference in New Issue
Block a user