From 0946b2e7a1e0f2c4dd9143537b4657a0136bff0f Mon Sep 17 00:00:00 2001 From: Bert Van Vreckem Date: Sat, 14 Mar 2015 01:00:48 +0100 Subject: [PATCH] Rename force_group into group --- tasks/main.yml | 2 +- templates/smb.conf.j2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 9e887ab..d4ca2bf 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -28,7 +28,7 @@ state: directory path: "{{ samba_shares_root}}/{{ item.name }}" owner: root - group: "{{ item.force_group|default('users') }}" + group: "{{ item.group|default('users') }}" mode: "{{ item.directory_mode|default('0775') }}" setype: "{{ item.setype|default('samba_share_t') }}" when: samba_shares is defined diff --git a/templates/smb.conf.j2 b/templates/smb.conf.j2 index f79b821..9f66a55 100644 --- a/templates/smb.conf.j2 +++ b/templates/smb.conf.j2 @@ -57,8 +57,8 @@ write list = {{ share.write_list }} {% endif %} - {% if share.force_group is defined %} - force group = {{ share.force_group }} + {% if share.group is defined %} + force group = {{ share.group }} {% endif %} create mask = {{ share.create_mask|default('0664') }} create mode = {{ share.create_mode|default('0664') }}