Merge pull request #4 from birgitcroux/fix_share_root
Create shares root first. This fixes #3.
This commit is contained in:
commit
e9feaf7120
@ -22,6 +22,14 @@
|
|||||||
- samba_export_all_rw
|
- samba_export_all_rw
|
||||||
tags: samba
|
tags: samba
|
||||||
|
|
||||||
|
- name: Create Samba shares root directory
|
||||||
|
file:
|
||||||
|
state: directory
|
||||||
|
path: "{{ samba_shares_root }}"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: '0755'
|
||||||
|
|
||||||
- name: Create share directories
|
- name: Create share directories
|
||||||
with_items: samba_shares
|
with_items: samba_shares
|
||||||
file:
|
file:
|
||||||
|
Loading…
Reference in New Issue
Block a user