34 lines
933 B
YAML
34 lines
933 B
YAML
- hosts: localhost
|
|
connection: local
|
|
vars:
|
|
bind_role: master
|
|
bind_zones:
|
|
test.local:
|
|
allow_transfer:
|
|
- '4.2.2.4'
|
|
ns_primary: ns1.test.local
|
|
mail: root@test.local
|
|
serial: 2017092202
|
|
ttl: 3600
|
|
refresh: 14400
|
|
retry: 86400
|
|
expire: 2419200
|
|
negative_cache: 86400
|
|
dnssec: yes
|
|
entries:
|
|
- { name: '@', type: mx, priority: 20, value: mail.test.local. }
|
|
- { name: '@', type: ns, value: localhost. }
|
|
- { name: hello, type: a, value: 1.2.3.4 }
|
|
hello.local:
|
|
ns_primary: ns1.hello.local
|
|
mail: root@hello.local
|
|
serial: 2017092201
|
|
dnssec: no
|
|
entries:
|
|
- { name: '@', type: mx, priority: 20, value: mail.test.local. }
|
|
- { name: '@', type: ns, value: localhost. }
|
|
- { name: hello, type: a, value: 4.3.2.1 }
|
|
|
|
roles:
|
|
- bind
|
|
|