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

49 lines
1.4 KiB
YAML
Raw Normal View History

2023-02-19 21:12:16 +01:00
---
- 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"
2023-02-19 21:12:16 +01:00
ansible.builtin.file:
path: "{{ music_user_data_collection_directory }}"
2023-02-19 21:12:16 +01:00
state: "directory"
owner: "{{ music_user_name }}"
group: "{{ music_user_name }}"
mode: 0755
2023-03-01 20:14:12 +01:00
- 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"
2023-02-19 21:12:16 +01:00
ansible.builtin.file:
path: "{{ music_user_home_directory }}/rip"
state: "directory"
owner: "{{ music_user_name }}"
group: "{{ music_user_name }}"
mode: 0755
2023-03-19 19:46:45 +01:00
- 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
2023-04-06 14:07:13 +02:00
- 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