2017-11-22 10:09:51 +01:00
|
|
|
- name: ensure /etc/yavdr exists
|
|
|
|
file:
|
|
|
|
path: /etc/yavdr
|
|
|
|
state: directory
|
|
|
|
mode: 0755
|
|
|
|
|
2017-11-20 09:20:30 +01:00
|
|
|
- name: create media directories
|
|
|
|
file:
|
|
|
|
dest: '{{ item.value }}'
|
|
|
|
owner: '{{ vdr.user }}'
|
|
|
|
group: '{{ vdr.group }}'
|
|
|
|
state: directory
|
|
|
|
mode: '0777'
|
|
|
|
with_dict: '{{ media_dirs }}'
|