Removed superfluous when: clauses
This commit is contained in:
parent
39c5bb3a9c
commit
982d4f45f6
@ -47,7 +47,6 @@
|
|||||||
group: "{{ item.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
|
|
||||||
tags: samba
|
tags: samba
|
||||||
|
|
||||||
- name: Ensute webserver document root exists
|
- name: Ensute webserver document root exists
|
||||||
@ -94,5 +93,4 @@
|
|||||||
|| (echo {{ item.password }}; echo {{ item.password }}) \
|
|| (echo {{ item.password }}; echo {{ item.password }}) \
|
||||||
| smbpasswd -s -a {{ item.name }}
|
| smbpasswd -s -a {{ item.name }}
|
||||||
with_items: "{{ samba_users }}"
|
with_items: "{{ samba_users }}"
|
||||||
when: samba_users
|
|
||||||
tags: samba
|
tags: samba
|
||||||
|
Loading…
Reference in New Issue
Block a user