49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
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 collection directory"
|
|
ansible.builtin.file:
|
|
path: "{{ music_user_data_collection_directory }}"
|
|
state: "directory"
|
|
owner: "{{ music_user_name }}"
|
|
group: "{{ music_user_name }}"
|
|
mode: 0755
|
|
|
|
- name: "directories : create archive directory"
|
|
ansible.builtin.file:
|
|
path: "{{ music_user_data_archive_directory }}"
|
|
state: "directory"
|
|
owner: "{{ music_user_name }}"
|
|
group: "{{ music_user_name }}"
|
|
mode: 0755
|
|
|
|
- name: "directories : create rip directory"
|
|
ansible.builtin.file:
|
|
path: "{{ music_user_home_directory }}/rip"
|
|
state: "directory"
|
|
owner: "{{ music_user_name }}"
|
|
group: "{{ music_user_name }}"
|
|
mode: 0755
|
|
|
|
- name: "directories : create download directory"
|
|
ansible.builtin.file:
|
|
path: "{{ music_user_home_directory }}/download"
|
|
state: "directory"
|
|
owner: "{{ music_user_name }}"
|
|
group: "{{ music_user_name }}"
|
|
mode: 0755
|
|
|
|
- name: "directories : create dvd directory"
|
|
ansible.builtin.file:
|
|
path: "{{ music_user_home_directory }}/dvd"
|
|
state: "directory"
|
|
owner: "{{ music_user_name }}"
|
|
group: "{{ music_user_name }}"
|
|
mode: 0755
|