ansible-edda/playbooks/roles/music/rip/tasks/include/directories.yml

25 lines
685 B
YAML

---
- name: "directories : create data directory"
ansible.builtin.file:
path: "{{ music_user_data_directory }}"
state: "directory"
owner: "{{ music_user_name }}"
group: "{{ music_user_name }}"
mode: 0755
- name: "directories : create volume \"flac\""
ansible.builtin.file:
path: "{{ music_user_data_directory }}/flac"
state: "directory"
owner: "{{ music_user_name }}"
group: "{{ music_user_name }}"
mode: 0755
- name: "directories : create directory \"rip\""
ansible.builtin.file:
path: "{{ music_user_home_directory }}/rip"
state: "directory"
owner: "{{ music_user_name }}"
group: "{{ music_user_name }}"
mode: 0755