adns: Set zone directory permissions
Bind needs to be able to write to the zone directories in order to sign the zones. Change-Id: I5649c28c6f7d8d98e0eca3c9c4da5d7312198b5c
This commit is contained in:
parent
dae1a0351c
commit
d15c6166c3
@ -19,6 +19,9 @@
|
||||
synchronize:
|
||||
src: "/opt/source/{{ item.source }}"
|
||||
dest: "/var/lib/bind/zones/{{ item.name }}"
|
||||
rsync_opts:
|
||||
- "--chmod=u+rwX,g+rX,o+rX"
|
||||
- "--chown=bind:bind"
|
||||
loop: "{{ dns_zones }}"
|
||||
notify: Reload named
|
||||
- name: Install tsig key
|
||||
|
Loading…
x
Reference in New Issue
Block a user