From 5ed292adac970bb7d032053918b41f41e9278d39 Mon Sep 17 00:00:00 2001 From: Vladimir Botka Date: Tue, 20 Feb 2018 02:06:16 +0100 Subject: [PATCH] group fixed for *BSD. Variable root_group used. --- 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 }}"