create shares root first

This commit is contained in:
birgitcroux 2015-12-01 13:18:58 +01:00
parent 16d4a8645d
commit f33d2085d9

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: