Merge pull request #4 from birgitcroux/fix_share_root

Create shares root first. This fixes #3.
This commit is contained in:
Bert Van Vreckem 2015-12-01 14:50:18 +01:00
commit e9feaf7120

View File

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