Correct group ownership of vhost config files

It fixes usage on *BSD.
pull/119/head
Jan Hruban 7 years ago
parent 7aa2ea4779
commit 964c50e9fe
  1. 2
      tasks/vhosts.yml

@ -18,7 +18,7 @@
dest: "{{ nginx_vhost_path }}/{{ item.filename|default(item.server_name.split(' ')[0] ~ '.conf') }}"
force: yes
owner: root
group: root
group: "{{ root_group }}"
mode: 0644
when: item.state|default('present') != 'absent'
with_items: "{{ nginx_vhosts }}"