ansible-edda/playbooks/roles/music/collection/tasks/main.yml

25 lines
658 B
YAML

---
- name: "create data directory"
ansible.builtin.file:
path: "{{ music_user_data_directory }}"
state: "directory"
owner: "{{ music_user_name }}"
group: "{{ music_user_name }}"
mode: 0755
- name: "create collection directory"
ansible.builtin.file:
path: "{{ music_user_data_collection_directory }}"
state: "directory"
owner: "{{ music_user_name }}"
group: "{{ music_user_name }}"
mode: 0755
- name: "create archive directory"
ansible.builtin.file:
path: "{{ music_user_data_archive_directory }}"
state: "directory"
owner: "{{ music_user_name }}"
group: "{{ music_user_name }}"
mode: 0755