Merge branch 'list'

This commit is contained in:
2023-10-05 16:16:31 +02:00
3 changed files with 29 additions and 15 deletions

View File

@@ -1,7 +1,11 @@
- 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
vars:
record_name: test1
record_value: 1.2.3.4
record_type: "A"
- { role: tco.dns, dns_action: "delete", dns_records: "{{ records }}" }