Rename force_group into group
This commit is contained in:
parent
28ec32dbbb
commit
0946b2e7a1
@ -28,7 +28,7 @@
|
|||||||
state: directory
|
state: directory
|
||||||
path: "{{ samba_shares_root}}/{{ item.name }}"
|
path: "{{ samba_shares_root}}/{{ item.name }}"
|
||||||
owner: root
|
owner: root
|
||||||
group: "{{ item.force_group|default('users') }}"
|
group: "{{ item.group|default('users') }}"
|
||||||
mode: "{{ item.directory_mode|default('0775') }}"
|
mode: "{{ item.directory_mode|default('0775') }}"
|
||||||
setype: "{{ item.setype|default('samba_share_t') }}"
|
setype: "{{ item.setype|default('samba_share_t') }}"
|
||||||
when: samba_shares is defined
|
when: samba_shares is defined
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
write list = {{ share.write_list }}
|
write list = {{ share.write_list }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if share.force_group is defined %}
|
{% if share.group is defined %}
|
||||||
force group = {{ share.force_group }}
|
force group = {{ share.group }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
create mask = {{ share.create_mask|default('0664') }}
|
create mask = {{ share.create_mask|default('0664') }}
|
||||||
create mode = {{ share.create_mode|default('0664') }}
|
create mode = {{ share.create_mode|default('0664') }}
|
||||||
|
Loading…
Reference in New Issue
Block a user