Rename force_group into group
This commit is contained in:
parent
28ec32dbbb
commit
0946b2e7a1
@ -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
|
||||
|
@ -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') }}
|
||||
|
Loading…
Reference in New Issue
Block a user