update ns.xai-corp.net and managed_setup
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
- dkui.xai-corp.net
|
||||
- jenkins.xai-corp.net
|
||||
- logs.xai-corp.net
|
||||
- tripbuilder.xai-corp.net
|
||||
|
||||
- name: cron job for renewing certs
|
||||
cron:
|
||||
|
||||
@@ -21,11 +21,19 @@
|
||||
- restart bind
|
||||
|
||||
- name: copy zone files to /etc/bind/
|
||||
template: src={{ item }}.j2 dest=/etc/bind/db.{{ item }} owner={{ bind.user }} group={{ bind.group }} mode=0644
|
||||
template:
|
||||
src: "{{ item }}.j2"
|
||||
dest: /etc/bind/db.{{ item }}
|
||||
owner: "{{ bind.user }}"
|
||||
group: "{{ bind.group }}"
|
||||
mode: 0644
|
||||
with_items: "{{ bind.zonefiles }}"
|
||||
notify:
|
||||
- restart bind
|
||||
|
||||
- name: test zone files
|
||||
command: named-checkzone xai-corp.net /etc/bind/db.xai-corp.net.internal
|
||||
|
||||
- name: copy named.confs to /etc/bind/
|
||||
template: src={{ item }}.j2 dest=/etc/bind/{{ item }} owner={{ bind.user }} group={{ bind.group }} mode=0640
|
||||
with_items:
|
||||
|
||||
@@ -10,7 +10,7 @@ xai-corp.net. IN NS ns.xai-corp.net.
|
||||
xai-corp.net. IN MX 0 mail.xai-corp.net.
|
||||
xai-corp.net. IN TXT "v=spf1 ip4:192.168.2.11/32 mx ptr mx:mail.xai-corp.net ~all"
|
||||
ns IN A 192.168.2.22
|
||||
mail IN A 192.168.2.11
|
||||
mail IN A 192.168.2.12
|
||||
|
||||
gateway IN A 192.168.2.1
|
||||
wireless IN A 192.168.2.3
|
||||
@@ -21,15 +21,20 @@ tv IN A 192.168.2.16
|
||||
xaicorp1 IN A 192.168.2.103
|
||||
garden IN A 192.168.2.20
|
||||
|
||||
home IN A 192.168.2.11
|
||||
|
||||
cubox-i IN A 192.168.2.12
|
||||
|
||||
home02 IN A 192.168.2.22
|
||||
|
||||
dkhost01 IN A 192.168.2.41
|
||||
fs IN A 192.168.2.41
|
||||
git IN A 192.168.2.41
|
||||
jenkins IN A 192.168.2.41
|
||||
home IN A 192.168.2.11
|
||||
home02 IN A 192.168.2.22
|
||||
dkhost01 IN A 192.168.2.41
|
||||
dkregistry IN A 192.168.2.41
|
||||
dkui IN A 192.168.2.41
|
||||
sql IN A 192.168.2.41
|
||||
tripbuilder IN A 192.168.2.41
|
||||
|
||||
logs IN A 192.168.2.42
|
||||
|
||||
|
||||
Reference in New Issue
Block a user