yavdr-ansible/roles/yavdr-common/tasks/create_directories.yml
Alexander Grothe c70d6f97c6 Fix indentation
2017-11-22 10:15:16 +01:00

15 lines
296 B
YAML

- name: ensure /etc/yavdr exists
file:
path: /etc/yavdr
state: directory
mode: 0755
- name: create media directories
file:
dest: '{{ item.value }}'
owner: '{{ vdr.user }}'
group: '{{ vdr.group }}'
state: directory
mode: '0777'
with_dict: '{{ media_dirs }}'