group fixed for *BSD. Variable root_group used.

pull/148/head
Vladimir Botka 6 years ago
parent 2fb66a92c6
commit 5ed292adac
No known key found for this signature in database
GPG Key ID: 90D199128ED44F01
  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 }}"