From 0db1e57d9cb66b7a8b69fe328cf393ada7dc33a3 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sun, 19 Mar 2023 19:46:45 +0100 Subject: [PATCH] Add download directory to music user --- playbooks/roles/music/rip/tasks/include/directories.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/playbooks/roles/music/rip/tasks/include/directories.yml b/playbooks/roles/music/rip/tasks/include/directories.yml index ea38be5..97a2528 100644 --- a/playbooks/roles/music/rip/tasks/include/directories.yml +++ b/playbooks/roles/music/rip/tasks/include/directories.yml @@ -30,3 +30,11 @@ 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