diff --git a/tasks/main.yml b/tasks/main.yml index 7e6c205..7cc7fb6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -25,7 +25,7 @@ file: path: "{{ item }}" state: directory - owner: root + owner: "{{ bind_owner }}" group: "{{ bind_group }}" mode: 0770 with_items: diff --git a/vars/Archlinux.yml b/vars/Archlinux.yml index ce96098..82ccf22 100644 --- a/vars/Archlinux.yml +++ b/vars/Archlinux.yml @@ -17,5 +17,5 @@ bind_default_zone_files: [] # Directory with run-time stuff bind_dir: /var/named -bind_owner: root +bind_owner: named bind_group: named