Tweaks
This commit is contained in:
parent
1a0b2614bc
commit
bf265a8309
5 changed files with 13 additions and 18 deletions
|
@ -42,10 +42,15 @@
|
|||
dest: "/etc/bind/{{ item }}"
|
||||
loop:
|
||||
- db.intern
|
||||
- db.lan
|
||||
- localzones
|
||||
notify: restart bind
|
||||
|
||||
- name: deploy config files for bind9 - special case where template destination filename is dynamic
|
||||
template:
|
||||
src: db.lan.j2
|
||||
dest: "/etc/bind/db.{{ ipaddr_lan_threeoct }}"
|
||||
notify: restart bind
|
||||
|
||||
- name: link zone files to writeable directory for DDNS
|
||||
file:
|
||||
src: "/etc/bind/{{ item }}"
|
||||
|
@ -53,7 +58,7 @@
|
|||
state: link
|
||||
loop:
|
||||
- db.intern
|
||||
- db.lan
|
||||
- "db.{{ ipaddr_lan_threeoct }}"
|
||||
notify: restart bind
|
||||
|
||||
- name: enable local bind config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue