-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconverge.yml
54 lines (53 loc) · 1.39 KB
/
converge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
- name: Converge
hosts: all
vars:
company_domain: "osgiliath.test"
dns_preferred_nic: docker0
hostname: "dns.osgiliath.test"
standalone_role: false
bind_acls:
- name: lan
networks:
- 171.0.0.0/24
bind_config: true
bind_pri_domain_name: "osgiliath.test"
bind_forward_zones:
- zone: "{{ bind_pri_domain_name }}"
expire: 2419200
hostmaster: "hostmaster.{{ bind_pri_domain_name }}"
masters: []
nameservers:
- "node0.{{ bind_pri_domain_name }}"
records:
- name: node0
address: 192.168.0.2
type: A
soa: "host.{{ bind_pri_domain_name }}"
refresh: 604800
retry: 86400
neg_cache_ttl: 604800
ttl: 32
slaves: []
bind_forwarding_server: true
bind_forwarders:
- 8.8.8.8
bind_manage_zones: true
bind_reverse_zones:
- zone: "168.192"
refresh: 604800
retry: 86400
ttl: 32
soa: "{{ ansible_hostname }}.{{ bind_pri_domain_name }}"
expire: 2419200
hostmaster: "hostmaster.{{ bind_pri_domain_name }}"
masters: []
nameservers:
- "node0.{{ bind_pri_domain_name }}"
neg_cache_ttl: 604800
slaves: []
records:
- name: "node0.{{ bind_pri_domain_name }}"
address: "2.0"
roles:
- role: tcharl.bind9