dns/application: Reconfigured creating zone directories using loop

dehydrated
Felix Stupp 5 years ago
parent 19b5fb3f9e
commit 479430a9e9
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -6,13 +6,15 @@
name:
- bind9
- name: Create directory for zone databases
- name: Create directories for zone databases
file:
path: "{{ dns_zones_directory }}"
path: "{{ item }}"
state: directory
owner: root
group: "{{ dns_user }}"
mode: "u=rw,g=r,o=r"
loop:
- "{{ dns_zones_directory }}"
- name: Configure bind9 options
template:

Loading…
Cancel
Save