Rename force_group into group

This commit is contained in:
Bert Van Vreckem 2015-03-14 01:00:48 +01:00
parent 28ec32dbbb
commit 0946b2e7a1
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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') }}