From 964c50e9fecc676ab8542c7fdeda04b0a389b50a Mon Sep 17 00:00:00 2001 From: Jan Hruban Date: Thu, 10 Aug 2017 00:07:50 +0200 Subject: [PATCH] Correct group ownership of vhost config files It fixes usage on *BSD. --- tasks/vhosts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/vhosts.yml b/tasks/vhosts.yml index 05af037..6616ecd 100644 --- a/tasks/vhosts.yml +++ b/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 }}"